lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/index SegmentTermDocs.java
Date Wed, 24 Mar 2004 17:36:53 GMT
cutting     2004/03/24 09:36:53

  Modified:    src/java/org/apache/lucene/index SegmentTermDocs.java
  Log:
  Fixed a bug in skipTo(), bugzilla #27587.
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-lucene/src/java/org/apache/lucene/index/SegmentTermDocs.java
  
  Index: SegmentTermDocs.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/SegmentTermDocs.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SegmentTermDocs.java	20 Feb 2004 20:14:55 -0000	1.6
  +++ SegmentTermDocs.java	24 Mar 2004 17:36:53 -0000	1.7
  @@ -199,7 +199,7 @@
           if (skipDoc != 0 && skipDoc >= doc)
             numSkipped += skipInterval;
   
  -        if ((count + numSkipped + skipInterval) > df)
  +        if ((count + numSkipped + skipInterval) >= df)
             break;                                  // no more skips
   
           skipDoc += skipStream.readVInt();
  
  
  

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