| От | Pierre-Yves Strub |
|---|---|
| Тема | Re: [GENERAL] Fragments in tsearch2 headline |
| Дата | |
| Msg-id | 592647410805241720i395bc8e8o770843dfce93cd1f@mail.gmail.com обсуждение |
| Ответ на | Re: [GENERAL] Fragments in tsearch2 headline (Sushant Sinha <sushant354@gmail.com>) |
| Список | pgsql-hackers |
On Sat, May 24, 2008 at 11:18 PM, Sushant Sinha <sushant354@gmail.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.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера