You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/10/05 14:58:48 UTC

svn commit: r1179207 - /lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/SegmentMerger.java

Author: rmuir
Date: Wed Oct  5 12:58:47 2011
New Revision: 1179207

URL: http://svn.apache.org/viewvc?rev=1179207&view=rev
Log:
add nocommits

Modified:
    lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/SegmentMerger.java

Modified: lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/SegmentMerger.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/SegmentMerger.java?rev=1179207&r1=1179206&r2=1179207&view=diff
==============================================================================
--- lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/SegmentMerger.java (original)
+++ lucene/dev/branches/lucene2621/lucene/src/java/org/apache/lucene/index/SegmentMerger.java Wed Oct  5 12:58:47 2011
@@ -359,6 +359,7 @@ final class SegmentMerger {
     int docCount = 0;
     if (matchingFieldsReader != null) {
       // We can bulk-copy because the fieldInfos are "congruent"
+      // nocommit: not if they are different impls, and this shouldn't be here (this stuff should be in codec)
       while (docCount < maxDoc) {
         int len = Math.min(MAX_RAW_MERGE_DOCS, maxDoc - docCount);
         IndexInput stream = matchingFieldsReader.rawDocs(rawDocLengths, docCount, len);
@@ -474,6 +475,7 @@ final class SegmentMerger {
     final int maxDoc = reader.reader.maxDoc();
     if (matchingVectorsReader != null) {
       // We can bulk-copy because the fieldInfos are "congruent"
+      // nocommit: not if they are different impls, and this shouldn't be here (this stuff should be in codec)
       int docCount = 0;
       while (docCount < maxDoc) {
         int len = Math.min(MAX_RAW_MERGE_DOCS, maxDoc - docCount);