ChrisHegarty commented on code in PR #16749:
URL: https://github.com/apache/lucene/pull/16749#discussion_r4143489808
##########
lucene/core/src/java/org/apache/lucene/store/IOContext.java:
##########
@@ -139,7 +147,7 @@ public IOContext withHints(FileOpenHint... hints) {
/** The {@link Context} this context is for */
Context context();
- /** Merge info, if {@link #context()} is {@link Context#MERGE} */
+ /** Merge info, when {@link #context()} is {@link Context#MERGE} and the
caller knows it */
Review Comment:
```suggestion
/**
* Merge info, or {@code null} if {@link #context()} is not {@link
Context#MERGE}, or if it is
* but the caller does not know how large the merge is (see {@link
#merge()}).
*/
```
--
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]