From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | sushant354(at)gmail(dot)com |
Cc: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org, Teodor Sigaev <teodor(at)sigaev(dot)ru> |
Subject: | Re: text search patch status update? |
Date: | 2009-01-08 02:49:51 |
Message-ID: | 200901080249.n082npl28558@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | ITAGAKI Takahiro | 2009-01-08 02:54:36 | Re: Solve a problem of LC_TIME of windows. |
Previous Message | Alvaro Herrera | 2009-01-08 02:44:52 | Re: Updates of SE-PostgreSQL 8.4devel patches (r1389) |