Re: text search: restricting the number of parsed words in headline generation - Mailing list pgsql-hackers

From Sushant Sinha
Subject Re: text search: restricting the number of parsed words in headline generation
Date
Msg-id CAJqjnSfeeG7UCAGDMSKT1P-gg02DUHk9=ketpnmxDmM7iTsycw@mail.gmail.com
Whole thread Raw
In response to Re: text search: restricting the number of parsed words in headline generation  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: text search: restricting the number of parsed words in headline generation
List pgsql-hackers
<div class="im"><br /><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
#cccsolid;padding-left:1ex"><br /> Actually, this code seems probably flat-out wrong: won't every<br /> successful call
ofhlCover() on a given document return exactly the same<br /> q value (end position), namely the last token occurrence
inthe<br /> document?  How is that helpful?<br /><br />                        regards, tom lane<br
/></blockquote></div><br/></div>There is a line that saves the computation state from the previous call and search only
startsfrom there:<br /><pre><span>int</span>         pos = *p;</pre><br /><br /> 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: text search: restricting the number of parsed words in headline generation
Next
From: Tom Lane
Date:
Subject: Re: Another extensions bug