[ 
https://issues.apache.org/jira/browse/LUCENE-5678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002391#comment-14002391
 ] 

ASF subversion and git services commented on LUCENE-5678:
---------------------------------------------------------

Commit 1596057 from [~thetaphi] in branch 'dev/trunk'
[ https://svn.apache.org/r1596057 ]

LUCENE-5678: Use FileOutputStream instead of RandomAccessFile to write index 
data. BufferedIndexOutput and related APIs were removed.

> Investigate to use FileoutputStream instead of RandomAccessFile in 
> FSIndexOutput
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-5678
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5678
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: core/store
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 5.0
>
>         Attachments: LUCENE-5678.patch, LUCENE-5678.patch, LUCENE-5678.patch, 
> LUCENE-5678.patch, LUCENE-5678.patch, LUCENE-5678.patch
>
>
> We no longer allow seeking in IndexOutput, so there is no need to use 
> RandomAccessFile. We can change this with a < 1 KiB patch.
> Further improvements would be to merge this with OutputStreamIndexOutput, so 
> we get many simplifications.
> There is also no reason anymore to separate DataOutput from IndexOutput. The 
> only additional thing is IndexOutput#getFilePointer(), which is handled by  
> an internal counter (does not use getFilePointer of the underlying RAF) and 
> checksums.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to