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  <br...@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to