lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Streeton <>
Subject TermDocs.skipTo
Date Mon, 29 Oct 2007 14:10:38 GMT
Are there any issues surrounding TermDocs.skipTo(). I have a index that works okay if I use to find next doc id, but using skipTo to go to the one after a point can miss

e.g. Iterating using and TermDocs.doc() 1,50,10000,20000 but suing TermDocs.skipTo(51)
returns false indicating that no doc id > 50 exists.

I will try and create a sample index to show this.

Many Thanks


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message