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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: text search: restricting the number of parsed words in headline generation
Дата
Msg-id 20120815162103.GL25473@momjian.us
обсуждение исходный текст
Ответ на Re: text search: restricting the number of parsed words in headline generation  (Sushant Sinha <sushant354@gmail.com>)
Список pgsql-hackers
This might indicate that the hlCover() item is resolved.

---------------------------------------------------------------------------

On Wed, Aug 24, 2011 at 10:08:11AM +0530, Sushant Sinha wrote:
> 
> 
>     Actually, this code seems probably flat-out wrong: won't every
>     successful call of hlCover() on a given document return exactly the same
>     q value (end position), namely the last token occurrence in the
>     document?  How is that helpful?
> 
>                            regards, tom lane
> 
> 
> There is a line that saves the computation state from the previous call and
> search only starts from there:
> 
> int         pos = *p;
> 
> 
> 

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: text search: restricting the number of parsed words in headline generation
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: sha1, sha2 functions into core?