uschindler commented on PR #12460: URL: https://github.com/apache/lucene/pull/12460#issuecomment-1715514900
> This has been a challenge so many times in the past, maybe it's time to add `seek()` support to `DataInput`? We have full random access (positional reads), if you extend the interface `RandomAccessInput`. Adding seek support to `DataInput` is not a good idea because it would prevent those `DataInput`s based on `InputStream` (e g. `InputStreamDataInput`, which is used at various places). -- 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 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