-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: master (9.0), 8.6
-
Component/s: None
-
Labels:None
-
Lucene Fields:New
Currently BufferedIndexInput works on a byte[] but its main implementation, in NIOFSDirectory, has to implement a hack to maintain a ByteBuffer view of it that it can use in calls to the FileChannel API. Maybe we should instead make BufferedIndexInput work directly on a ByteBuffer? This would also help reuse the existing ByteBuffer#get(|Short|Int|long) methods instead of duplicating them from DataInput.
- links to