thomasmueller commented on a change in pull request #378:
URL: https://github.com/apache/jackrabbit-oak/pull/378#discussion_r728925974



##########
File path: 
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/util/IndexDefinitionBuilder.java
##########
@@ -624,6 +622,7 @@ private static Tree getOrCreateChild(Tree tree, String 
name){
                 IndexConstants.USE_IF_EXISTS,
                 IndexConstants.QUERY_PATHS,
                 IndexConstants.INDEX_TAGS,
+                IndexConstants.INDEX_SELECTION_POLICY,

Review comment:
       Hm, we need to move it to 
org.apache.jackrabbit.oak.plugins.index.search.util.IndexDefinitionBuilder... 
The Lucene class might still be there for compatibility, but we need to use the 
org.apache.jackrabbit.oak.plugins.index.search.util.IndexDefinitionBuilder. The 
clients that need selectionPolicy need to be migrated. We might want to 
deprecate the Lucene one.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to