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  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: text search: restricting the number of parsed words in headline generation  (Sushant Sinha <sushant354@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Why doesn't psql use the information schema to get ACL description ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: skip WAL on COPY patch