You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/10/21 11:06:33 UTC
[jira] [Commented] (OAK-2222) Clarify the OakIndexFile input and
output contracts
[ https://issues.apache.org/jira/browse/OAK-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178160#comment-14178160 ]
Chetan Mehrotra commented on OAK-2222:
--------------------------------------
+1. Should we also add like ensureOpen() in other calls?
Also outside of this issue perview we should also look into using {{org.apache.lucene.store.BufferedIndexInput}} and BufferedIndexOutput variant. Current each byte access is implemented in bit expensive way using the buffered variant would avoid that
> Clarify the OakIndexFile input and output contracts
> ---------------------------------------------------
>
> Key: OAK-2222
> URL: https://issues.apache.org/jira/browse/OAK-2222
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: oak-lucene
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Priority: Minor
> Fix For: 1.1.2
>
> Attachments: lucene-directory.patch
>
>
> This is just a minor refactoring of the current code to clarify that the _OakIndexInput_ is in fact a read-only view.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)