Re: Incorrect FTS query results with GIN index

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

> 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 Vyacheslav Kalinin 2010-01-18 12:28:12 Re: Incorrect FTS query results with GIN index
Previous Message Jakub Bednář 2010-01-18 08:19:40 Mapping Java BigDecimal