nit0906 commented on code in PR #2234: URL: https://github.com/apache/jackrabbit-oak/pull/2234#discussion_r2055295759
########## 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: Could you mention in a comment why exactly is the InferenceQuery object needed here ? I am assuming some parsing required for rawtext->queryText for some specific case ? -- 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