tihom88 commented on code in PR #2234:
URL: https://github.com/apache/jackrabbit-oak/pull/2234#discussion_r2058213407


##########
oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/FullTextSearchImpl.java:
##########
@@ -137,27 +138,29 @@ public FullTextExpression 
getFullTextConstraint(SelectorImpl s) {
             }
             String p2 = normalizePropertyName(p);
             String rawText = getRawText(v);
-            FullTextExpression e = FullTextParser.parse(p2, rawText);
+            InferenceQuery inferenceQuery = new InferenceQuery(rawText);
+            String queryText = inferenceQuery.getQueryText();

Review Comment:
   Sure... I am also adding a configuration in queryengine to enable inference. 
The same check I will add here. 



-- 
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: oak-dev-unsubscr...@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to