jimczi commented on code in PR #16883:
URL: https://github.com/apache/lucene/pull/16883#discussion_r4350721082


##########
lucene/core/src/java/org/apache/lucene/store/IndexInput.java:
##########
@@ -238,6 +238,16 @@ public boolean prefetch(long offset, long length) throws 
IOException {
    */
   public void updateIOContext(IOContext context) throws IOException {}
 
+  /**
+   * Returns true if reading this input is as efficient as reading an input 
opened with the given
+   * {@code IOContext}. If not, callers that read with this context may open 
the file again.

Review Comment:
    Reworded: it now says when callers should open the file again.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to