jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-4613) Suggest directory should be opened in read only mode
Date Thu, 28 Jul 2016 11:13:20 GMT

     [ https://issues.apache.org/jira/browse/OAK-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chetan Mehrotra resolved OAK-4613.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.7

Done in 1754393


> Suggest directory should be opened in read only mode
> ----------------------------------------------------
>
>                 Key: OAK-4613
>                 URL: https://issues.apache.org/jira/browse/OAK-4613
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.6, 1.5.7
>
>
> {{IndexNode}} currently opens the suggest directory in following way 
> {code}
>  if (definition.isSuggestEnabled()) {
>       suggestDirectory = new OakDirectory(defnNodeState.builder(), ":suggest-data", definition,
false);
> }
> {code}
> It has two issues
> * It open a builder on existing node state. Instead of that it should use {{ReadOnlyBuilder}}
> * The directory should be opened in read only mode



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message