| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | sushant354(at)gmail(dot)com |
| Cc: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, Pierre-Yves Strub <pierre(dot)yves(dot)strub(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: [GENERAL] Fragments in tsearch2 headline |
| Date: | 2009-04-14 01:24:58 |
| Message-ID: | 26620.1239672298@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
Sushant Sinha <sushant354(at)gmail(dot)com> writes:
> Headline generation uses hlCover to get fragments in text with *all*
> query items. In case there is no such fragment, it does not return
> anything.
> What you are asking will either require returning *maximally* matching
> covers or handling it as a separate case.
Efficiently being useless is still useless --- a headline selection
function needs to be robust, not fragile, and not doing anything useful
for a partial match sounds pretty fragile to me.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ahmed soua | 2009-04-14 10:30:39 | how to disable autovaccum |
| Previous Message | Sushant Sinha | 2009-04-14 01:18:50 | Re: [GENERAL] Fragments in tsearch2 headline |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Fetter | 2009-04-14 02:09:24 | Re: psql with "Function Type" in \df |
| Previous Message | Sushant Sinha | 2009-04-14 01:18:50 | Re: [GENERAL] Fragments in tsearch2 headline |