Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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.