[
https://issues.apache.org/jira/browse/OAK-9481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844871#comment-17844871
]
Nitin Gupta commented on OAK-9481:
----------------------------------
Backported to 1.22 branch as well -
[https://github.com/apache/jackrabbit-oak/commit/3c6196a9a1ff90564d87b8692568318c54042c37]
> avoid range queries on like conditions
> --------------------------------------
>
> Key: OAK-9481
> URL: https://issues.apache.org/jira/browse/OAK-9481
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene, search
> Reporter: Fabrizio Fortino
> Assignee: Fabrizio Fortino
> Priority: Major
> Fix For: 1.42.0, 1.22.20
>
>
> When a query contains a like condition this gets transformed in a range query
> in lucene. On multi-value properties, this scans more results than needed.
> Although the final results are correct, the response time is affected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)