FrancoisZhang commented on a change in pull request #469:
URL: https://github.com/apache/jackrabbit-oak/pull/469#discussion_r797806869
##########
File path:
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LucenePropertyIndex.java
##########
@@ -1551,7 +1551,7 @@ private static Query tokenToQuery(String text, String
fieldName, PlanResult pr,
if (FieldNames.FULLTEXT.equals(fieldName)) {
Query subQuery = new BooleanQuery();
if (pr.indexDefinition.isDynamicBoostLiteEnabled()) {
- subQuery = new TermQuery(new Term(FieldNames.SIMILARITY_TAGS,
text));
+ subQuery = new TermQuery(new Term(FieldNames.SIMILARITY_TAGS,
text.toLowerCase()));
Review comment:
@fabriziofortino quick test seems doesn't work. can you check latest
code? I use a new created method to make it work the same as dynamicBoost
query. which is actually implemented in AEM DAM code base. new method I create
here is try to mimic with that and make them work as the same way.
--
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]