From: | "Pierre-Yves Strub" <pierre(dot)yves(dot)strub(at)gmail(dot)com> |
---|---|
To: | sushant354(at)gmail(dot)com |
Cc: | "Teodor Sigaev" <teodor(at)sigaev(dot)ru>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] Fragments in tsearch2 headline |
Date: | 2008-05-25 00:20:05 |
Message-ID: | 592647410805241720i395bc8e8o770843dfce93cd1f@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Sat, May 24, 2008 at 11:18 PM, Sushant Sinha <sushant354(at)gmail(dot)com> wrote:
> Does this mean we want a unified function ts_headline and we trigger the
> fragments if NumFragments is specified? It seems that introducing a new
> function which can take configuration OID, or name is complex as there
> are so many functions handling these issues in wparser.c.
>
> If this is true then we need to just add marking of headline words in
> prsd_headline. Otherwise we will need another prsd_headline_with_covers
> function.
I think that we could merge down the two functions using a default
cover of the whole text when NumCovers if missing. I started writing
the function. The only missing information is, as you stated, the
missing posititions in HeadlineParsedText.
From | Date | Subject | |
---|---|---|---|
Next Message | jcvlz | 2008-05-25 02:41:43 | Re: best er modeling tool for postgreSQL |
Previous Message | Steve Atkins | 2008-05-24 21:59:04 | Re: Optimzing Postgresql |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-05-25 03:15:27 | Re: \df displaying volatility |
Previous Message | Rainer Bauer | 2008-05-24 22:01:10 | Re: Execution-time-sensitive timestamp regression tests |