Re: Incorrect FTS result with GIN index

From: Artur Dabrowski <ad(at)astec(dot)com(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Incorrect FTS result with GIN index
Date: 2010-07-19 09:50:50
Message-ID: 29203020.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers


Hello Oleg,

my results are different. The analysis looks like this (please note the
different numbers of rows):

Aggregate (cost=104.05..104.06 rows=1 width=0) (actual
time=152.133..152.135 rows=1 loops=1)
-> Bitmap Heap Scan on search_tab (cost=5.39..103.98 rows=25 width=0)
(actual time=76.546..151.834 rows=116 loops=1)
Recheck Cond: ((to_tsvector('german'::regconfig, keywords) @@
'''ee'':*'::tsquery) AND (to_tsvector('german'::regconfig, keywords) @@
'''dd'':*'::tsquery))
-> Bitmap Index Scan on idx_keywords_ger (cost=0.00..5.38 rows=25
width=0) (actual time=76.292..76.292 rows=506 loops=1)
Index Cond: ((to_tsvector('german'::regconfig, keywords) @@
'''ee'':*'::tsquery) AND (to_tsvector('german'::regconfig, keywords) @@
'''dd'':*'::tsquery))
Total runtime: 152.389 ms

I have no idea, what could be the reason for different behaviour on your and
my machine (windows xp, postgreSQL 8.4.3)?
I reproduced the same wrong behaviour on a machine of my co-worker (windows
xp, postgreSQL 8.4.4).

--
View this message in context: http://old.nabble.com/Incorrect-FTS-results-with-GIN-index-tp29172750p29203020.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tuanhoanganh 2010-07-19 10:00:53 Re: Rescue data after power off
Previous Message A. Kretschmer 2010-07-19 09:24:43 Re: Rescue data after power off

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthew Wakeling 2010-07-19 11:35:16 Re: Trouble with COPY IN
Previous Message Simon Riggs 2010-07-19 06:46:52 Re: ALTER TABLE SET STATISTICS requires AccessExclusiveLock