[ 
https://issues.apache.org/jira/browse/OAK-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amit Jain updated OAK-1718:
---------------------------
    Fix Version/s:     (was: 1.1)
                   1.1.0

> Avoid expanding empty property restrictions if not needed
> ---------------------------------------------------------
>
>                 Key: OAK-1718
>                 URL: https://issues.apache.org/jira/browse/OAK-1718
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-solr
>    Affects Versions: 0.20
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 1.1.0
>
>
> Empty property restrictions end up being expanded as a wildcard query on a a 
> field with the property name (e.g. text:*) but that is not good when there're 
> already full text queries running on that property (text:(a b)) as the 
> resulting query, in AND, has a useless and costly clause that could be 
> avoided.
> To get rid of that the trivial fix is to expand full text expressions first 
> and check if a query on that property already exists before creating the 
> wildcard query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to