Re: BUG #12204: Getting wrong results from full text search

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: prasanna(at)semantifi(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12204: Getting wrong results from full text search
Date: 2014-12-11 17:32:37
Message-ID: 20141211173237.GJ1768@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

prasanna(at)semantifi(dot)com wrote:

> select sckw.*
> FROM semantified_content_key_word sckw
> where TO_TSVECTOR(sckw.key_word_text) @@ TO_TSQUERY('exhausted');
>
> This is the query which i am running.And the keyword "exhausted" is present
> only in one of the rows but i am getting all the 3 rows.

My guess, without actual experimentation, is that "exhausted" stems down
to "exhaust", which is present in the three provided rows.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-12-11 17:34:48 Re: BUG #12202: json operator ->>with offset
Previous Message Alvaro Herrera 2014-12-11 17:22:56 Re: regression, deadlock in high frequency single-row UPDATE