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] [Created] (OAK-4806) Remove usage of Tree in LuceneIndexEditor
Date Thu, 15 Sep 2016 04:19:20 GMT
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

View raw message