jpountz opened a new issue, #13211: URL: https://github.com/apache/lucene/issues/13211
### Description `MergeContext` has a few boolean flags: `readOnce`, `load`, `randomAccess`. But some combinations of these flags don't make sense, e.g. something can't be `readOnce` and `randomAccess` at the same time. So it would be natural to identify combinations that make sense and represent them as an `enum`. Separately @rmuir suggested having a more natural translation between `IOContext` and `(m|f)advise`. So maybe this enum could be modeled after the allowed values for `posix_fadvise`: `NOREUSE` (read-once), `RANDOM`, etc. -- 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: issues-unsubscr...@lucene.apache.org.apache.org 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