lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1233508 - in /lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index: BufferedDeletesStream.java IndexWriter.java
Date Thu, 19 Jan 2012 18:16:13 GMT
Author: rmuir
Date: Thu Jan 19 18:16:13 2012
New Revision: 1233508

URL: http://svn.apache.org/viewvc?rev=1233508&view=rev
Log:
LUCENE-3661: bitvector->mutablebits in some strings/javadocs

Modified:
    lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java
    lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java?rev=1233508&r1=1233507&r2=1233508&view=diff
==============================================================================
--- lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java
(original)
+++ lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/BufferedDeletesStream.java
Thu Jan 19 18:16:13 2012
@@ -147,7 +147,7 @@ class BufferedDeletesStream {
   };
   
   /** Resolves the buffered deleted Term/Query/docIDs, into
-   *  actual deleted docIDs in the liveDocs BitVector for
+   *  actual deleted docIDs in the liveDocs MutableBits for
    *  each SegmentReader. */
   public synchronized ApplyDeletesResult applyDeletes(IndexWriter.ReaderPool readerPool,
List<SegmentInfo> infos) throws IOException {
     final long t0 = System.currentTimeMillis();

Modified: lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/IndexWriter.java?rev=1233508&r1=1233507&r2=1233508&view=diff
==============================================================================
--- lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/IndexWriter.java
(original)
+++ lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/index/IndexWriter.java
Thu Jan 19 18:16:13 2012
@@ -633,7 +633,7 @@ public class IndexWriter implements Clos
           }
         }
         assert (info.docCount - liveDocs.count()) == info.getDelCount() + pendingDeleteCount:
-           "delete count mismatch during commit: seg=" + info + " info.delCount=" + info.getDelCount()
+ " vs BitVector=" + (info.docCount-liveDocs.count() + " pendingDelCount=" + pendingDeleteCount);
+           "delete count mismatch during commit: seg=" + info + " info.delCount=" + info.getDelCount()
+ " vs MutableBits=" + (info.docCount-liveDocs.count() + " pendingDelCount=" + pendingDeleteCount);
         info.setDelCount(info.getDelCount() + pendingDeleteCount);
         pendingDeleteCount = 0;
         return true;
@@ -2206,7 +2206,7 @@ public class IndexWriter implements Clos
 
   /**
    * Prepares the {@link SegmentInfo} for the new flushed segment and persists
-   * the deleted documents {@link BitVector}. Use
+   * the deleted documents {@link MutableBits}. Use
    * {@link #publishFlushedSegment(SegmentInfo, FrozenBufferedDeletes)} to
    * publish the returned {@link SegmentInfo} together with its segment private
    * delete packet.



Mime
View raw message