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

Поиск
Список
Период
Сортировка
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 по дате отправления: