<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 />