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/09/15 04:19:20 UTC
[jira] [Created] (OAK-4806) Remove usage of Tree in
LuceneIndexEditor
Chetan Mehrotra created OAK-4806:
------------------------------------
Summary: Remove usage of Tree in LuceneIndexEditor
Key: OAK-4806
URL: https://issues.apache.org/jira/browse/OAK-4806
Project: Jackrabbit Oak
Issue Type: Improvement
Components: lucene
Reporter: Chetan Mehrotra
Assignee: Chetan Mehrotra
Priority: Minor
Fix For: 1.6
{{LuceneIndexEditor}} currently creates 2 tree instances for determining IndexRule. [~ianeboston] highlighted this on list [1] and this is something which we should avoid and remove usage of Tree api
This was earlier done so as to simplify future support for conditional rules (OAK-2281) which might need access to ancestor which is not possible with NodeState api. As that is not going to be done so we can get rid of Tree construction in the editor.
[1] https://lists.apache.org/thread.html/7d51b45296f5801c3b510a30a4847ce297707fb4e0d4c2cefe19be62@%3Coak-dev.jackrabbit.apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)