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 2016/07/28 11:12:20 UTC
[jira] [Created] (OAK-4613) Suggest directory should be opened in
read only mode
Chetan Mehrotra created OAK-4613:
------------------------------------
Summary: 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
{{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)