From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
Cc: | sushant354(at)gmail(dot)com, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Fragments in tsearch2 headline |
Date: | 2008-05-09 03:29:42 |
Message-ID: | 200805090329.m493TgZ26711@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Where are we on this?
---------------------------------------------------------------------------
Teodor Sigaev wrote:
> > The patch takes into account the corner case of overlap. Here is the
> > code for that
> > // start check
> > if (!startHL && *currentpos >= startpos)
> > startHL = 1;
> >
> > The headline generation will not start until currentpos has gone past
> > startpos.
> Ok
>
> >
> > You can also check how this headline function is working at my website
> > indiankanoon.com. Some example queries are murder, freedom of speech,
> > freedom of press etc.
> Looks good.
>
> > Should I develop the patch for the current cvs head of postgres?
>
> I'd like to commit your patch, but if it should be:
> - for current HEAD
> - as extension of existing ts_headline.
>
> --
> Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
> WWW: http://www.sigaev.ru/
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
--
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 | Francisco Reyes | 2008-05-09 03:57:47 | Using Epoch to save timestamps in 4 bytes? |
Previous Message | Thomas H. | 2008-05-09 01:53:52 | changing language of system messages |