Re: Incorrect FTS query results with GIN index

From: Vyacheslav Kalinin <vka(at)mgcp(dot)com>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: General postgres mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Incorrect FTS query results with GIN index
Date: 2010-01-18 12:28:12
Message-ID: 9b1af80e1001180428q5fd2bd6cqb84fd08e1af82d53@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Great, thank you!
I assume this one goes into 8.4.3, right?

2010/1/18 Teodor Sigaev <teodor(at)sigaev(dot)ru>

> Basically, I started testing prefix matching in FTS and got into
>> troubles. Self-contained example follows:
>>
>
> Thank you, fixed. The reason was in incorrect optimization of GIN scan: GIN
> reuses scan result for equals key, but comparison of key didn't take into
> account a difference of scan's strategy.
>
>
>
> --
> Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
> WWW:
> http://www.sigaev.ru/
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Teodor Sigaev 2010-01-18 12:51:22 Re: Incorrect FTS query results with GIN index
Previous Message Teodor Sigaev 2010-01-18 11:55:52 Re: Incorrect FTS query results with GIN index