mocobeta commented on a change in pull request #2064:
URL: https://github.com/apache/lucene-solr/pull/2064#discussion_r517891574



##########
File path: 
lucene/misc/src/java/org/apache/lucene/misc/index/MultiPassIndexSplitter.java
##########
@@ -101,7 +111,7 @@ public void split(IndexReader in, Directory[] outputs, 
boolean seq) throws IOExc
           .setOpenMode(OpenMode.CREATE));
       System.err.println("Writing part " + (i + 1) + " ...");
       // pass the subreaders directly, as our wrapper's numDocs/hasDeletetions 
are not up-to-date
-      final List<? extends FakeDeleteLeafIndexReader> sr = 
input.getSequentialSubReaders();
+      final List<? extends FakeDeleteLeafIndexReader> sr = 
input.getSequentialSubReadersWrapper();

Review comment:
       BaseCompositeReader.getSequentialSubReaders() is a protected method so 
it cannot be directly called from here. A wrapper method is needed to move this 
class to `o.a.l.misc.index` from `o.a.l.index`.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to