Re: [GENERAL] Fragments in tsearch2 headline

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Fragments in tsearch2 headline
Дата
Msg-id 26620.1239672298@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Fragments in tsearch2 headline  (Sushant Sinha <sushant354@gmail.com>)
Список pgsql-hackers
Sushant Sinha <sushant354@gmail.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Fragments in tsearch2 headline
Следующее
От: Sushant Sinha
Дата:
Сообщение: Re: [GENERAL] Fragments in tsearch2 headline