Re: tsearch2: rebuilding of fulltext index

From: <me(at)alternize(dot)com>
To: "Michael Fuhr" <mike(at)fuhr(dot)org>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: tsearch2: rebuilding of fulltext index
Date: 2006-02-25 20:13:30
Message-ID: 062a01c63a47$f29f6820$6402a8c0@iwing
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

> On Sat, Feb 25, 2006 at 08:03:41PM +0100, me(at)alternize(dot)com wrote:
>> we have a discussion board whose posts should be indexed by tsearch2. now
>> it came to our attention, that not all posts seem to be properly indexed
>> (why so i do not know yet). as i don't know which posts are not index, i
>> just want to reindex all of them.
>
> How do the posts "seem not to be properly indexed"? What did you
> do, what did you expect to happen, and what did happen? Let's see
> if we can identify the problem before trying to solve it.

already solved - programming error. for tsearch2 we stripe the board message
from html codes for better search results. INSERT did not properly set this
text in auto-generated board topics (we have some content for which board
messages are system-generated).

> Are queries not returning messages that you'd expect them to? If
> so then could you post one such query and the row that it should
> match but didn't (or did match but shouldn't)? If that's not the
> case then how did you discover the problem? What unexpected behavior
> are you seeing?

everything is fine now after fixing the INSERT and doing a dummy UPDATE on
all posts. thanks for your help!

- thomas

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Johnny l 2006-02-26 01:31:20 exporting to DTD
Previous Message Michael Fuhr 2006-02-25 20:04:53 Re: tsearch2: rebuilding of fulltext index