LUCENE-3661: bitvector->mutablebits in some strings/javadocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233508 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-01-19 18:16:13 +00:00
parent e2a4b86260
commit 413823ceaf
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -633,7 +633,7 @@ public class IndexWriter implements Closeable, TwoPhaseCommit {
}
}
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 Closeable, TwoPhaseCommit {
/**
* 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.