nit0906 commented on a change in pull request #503:
URL: https://github.com/apache/jackrabbit-oak/pull/503#discussion_r814449400



##########
File path: 
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/query/ElasticRequestHandler.java
##########
@@ -206,6 +206,9 @@ public BoolQueryBuilder baseQuery() {
                         );
                     }
                 }
+            }  else if (propertyRestrictionQuery.startsWith(SUGGEST_PREFIX)) {
+                String suggestQueryString = 
propertyRestrictionQuery.replace(SUGGEST_PREFIX, "");

Review comment:
       Maybe a comment here on why we did this ?




-- 
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