Re: text search patch status update? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: text search patch status update?
Date
Msg-id 200901080249.n082npl28558@momjian.us
Whole thread Raw
In response to Re: text search patch status update?  (Sushant Sinha <sushant354@gmail.com>)
Responses Re: text search patch status update?  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Sushant Sinha wrote:
> The default headline generation function is complicated. It checks a lot
> of cases to determine the best headline to be displayed. So Heikki's
> examples just say that headline generation function may not be very
> intuitive. However, his examples were not affected by the bug.
> 
> Because of the bug, hlcover was not returning a cover when the query
> item was the first lexeme in the text. And so the headline generation
> function will return just MINWORDS rather than the actual headline as
> per the logic.
> 
> After the patch you will see the difference in the example:
> 
> http://archives.postgresql.org/pgsql-hackers/2008-07/msg00785.php

Ah, thank you for the clarification.  I now realize Heikki was more
saying the code can be improved rather than reporting a bug.  Thanks.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Sushant Sinha
Date:
Subject: Re: text search patch status update?
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Solve a problem of LC_TIME of windows.