[ https://issues.apache.org/jira/browse/LUCENE-9271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077146#comment-17077146 ]
ASF subversion and git services commented on LUCENE-9271: --------------------------------------------------------- Commit 4ccbf19eb785705b80f3ecb10fc8643dbee53783 in lucene-solr's branch refs/heads/branch_8x from Adrien Grand [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=4ccbf19 ] LUCENE-9271: Move BufferedIndexInput to the ByteBuffer API. Closes #1338 > Make BufferedIndexInput work on a ByteBuffer > -------------------------------------------- > > Key: LUCENE-9271 > URL: https://issues.apache.org/jira/browse/LUCENE-9271 > Project: Lucene - Core > Issue Type: Task > Reporter: Adrien Grand > Priority: Minor > Time Spent: 1h 40m > Remaining Estimate: 0h > > 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}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org