romseygeek commented on a change in pull request #2212:
URL: https://github.com/apache/lucene-solr/pull/2212#discussion_r559604398



##########
File path: lucene/core/src/java/org/apache/lucene/index/DirectoryReader.java
##########
@@ -104,6 +104,23 @@ public static DirectoryReader open(final IndexCommit 
commit) throws IOException
     return StandardDirectoryReader.open(commit.getDirectory(), commit);
   }
 
+  /**
+   * Expert: returns an IndexReader reading the index in the given {@link 
IndexCommit}. This method
+   * allows to open indices that were created wih a Lucene version older than 
N-1 provided that all
+   * all codecs for this index are available in the classpath and the segment 
file format used was
+   * created with Lucene 7 or older. Users of this API must be aware that 
Lucene doesn't guarantee

Review comment:
       The javadoc should read 'Lucene 7 or newer' I think?




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