Re: BUG #12204: Getting wrong results from full text search - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #12204: Getting wrong results from full text search
Date
Msg-id 20141211173237.GJ1768@alvh.no-ip.org
Whole thread Raw
In response to BUG #12204: Getting wrong results from full text search  (prasanna@semantifi.com)
Responses Re: BUG #12204: Getting wrong results from full text search
List pgsql-bugs
prasanna@semantifi.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

pgsql-bugs by date:

Previous
From: prasanna@semantifi.com
Date:
Subject: BUG #12205: Getting wrong results from full text search
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #12202: json operator ->>with offset