Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10097

IndexDefinitionBuilder relies on Tree, but TreeFactory is deprecated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • search
    • None

    Description

      org.apache.jackrabbit.oak.plugins.index.search.util.IndexDefinitionBuilder internally uses TreeFactory, which is deprecated (OAK-7015).

      Furthermore, the build methods require either a Tree or a Node. It would be better to support NodeBuilder here.

      See https://issues.apache.org/jira/browse/OAK-7015?focusedCommentId=17682914&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17682914 for further discussion.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: