lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19189] - SegmentTermPositions bug in method seek(TermInfo)
Date Thu, 24 Apr 2003 04:55:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19189>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19189

SegmentTermPositions bug in method seek(TermInfo)





------- Additional Comments From cpp@vip.163.com  2003-04-24 04:55 -------
note: the code fails only when tp.next() is called multiple times, but
tp.nextPosition() is called less than tp.freq() times.  The pointer to
proxStream is misplaced then.  So current Lucene search code is not
affected.


      while (te.next()) {
        tp.seek(te.term());
        while (tp.next()) {
        }
      }

should be equivalent to

      while (te.next()) {
        tp.seek(te.term());
      }

and 
      nothing
but there must be something wrong when 'nothing' fails, right?

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message