Re: Fragments in tsearch2 headline

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: Fragments in tsearch2 headline
Дата
Msg-id 47F0DACC.4030704@sigaev.ru
обсуждение исходный текст
Ответ на Re: Fragments in tsearch2 headline  (Sushant Sinha <sushant354@gmail.com>)
Ответы Re: Fragments in tsearch2 headline  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
> The patch takes into account the corner case of overlap. Here is the
> code for that
> // start check
> if (!startHL && *currentpos >= startpos)
>        startHL = 1;
>
> The headline generation will not start until currentpos has gone past
> startpos.
Ok

>
> You can also check how this headline function is working at my website
> indiankanoon.com. Some example queries are murder, freedom of speech,
> freedom of press etc.
Looks good.

> Should I develop the patch for the current cvs head of postgres?

I'd like to commit your patch, but if it should be:
  - for current HEAD
  - as extension of existing ts_headline.

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

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

Предыдущее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: ANALYZE getting dead tuple count hopelessly wrong
Следующее
От: "Roberts, Jon"
Дата:
Сообщение: Re: Using tables in other PostGreSQL database