Re: Fragments in tsearch2 headline

From: "Pierre-Yves Strub" <pierre(dot)yves(dot)strub(at)gmail(dot)com>
To: sushant354(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fragments in tsearch2 headline
Date: 2008-05-23 09:25:22
Message-ID: 592647410805230225k37cf4dcamc7461acabfb21781@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Fri, May 23, 2008 at 7:10 AM, Sushant Sinha <sushant354(at)gmail(dot)com> wrote:
> Teodor did not want a separate function. He wanted it as an extension to
> ts_headline. One way to do this will be to invoke it only when options
> like MaxCoverSize is used. It will be slightly ugly though.

What I understand is that Teodor wants hlparsetext to be used instead
of hlparsetext_with_cover. This is not too hard to do if hlparsetext
gives the positions of lexems. I started writting the patch, but I'm
stucked with the function LexizeExec which I do not totally understand
(... and is not well documents too :) )

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Filip Rembiałkowski 2008-05-23 09:58:59 Re: Fwd: sql_type tinterval not supported by DBD::Pg
Previous Message Howard Cole 2008-05-23 09:17:03 Re: Error: Could not open relation...

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas H. 2008-05-23 09:51:52 Re: BUG #4186: set lc_messages does not work
Previous Message Amit jain 2008-05-23 06:13:12 Re: Error while executing pg_dump "invalid memory alloc request size 4294967293"