Re: text search: restricting the number of parsed words in headline generation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: text search: restricting the number of parsed words in headline generation
Дата
Msg-id 1659.1314125958@sss.pgh.pa.us
обсуждение
Ответ на text search: restricting the number of parsed words in headline generation  (Sushant Sinha <sushant354@gmail.com>)
Ответы Re: text search: restricting the number of parsed words in headline generation
Re: text search: restricting the number of parsed words in headline generation
Список pgsql-hackers
Sushant Sinha <sushant354@gmail.com> writes:
> Given a document and a query, the goal of headline generation is to
> produce text excerpts in which the query appears.

... right ...

> Here is a simple patch that limits the number of words during the
> tokenization phase and puts an upper-bound on the headline generation.

Doesn't this force the headline to be taken from the first N words of
the document, independent of where the match was?  That seems rather
unworkable, or at least unhelpful.
        regards, tom lane


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