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

Thomas Mueller updated OAK-902:
-------------------------------

    Assignee: Thomas Mueller
    
> Lucene fulltext query: "contains(*, 'x OR y')" not working
> ----------------------------------------------------------
>
>                 Key: OAK-902
>                 URL: https://issues.apache.org/jira/browse/OAK-902
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> The Lucene fulltext index currently doesn't correctly support conditions of 
> the type "x OR y". The expected behavior (according to the JCR spec as well 
> as the behavior of Jackrabbit 2.x) is to return nodes that contain either 'x' 
> or 'y'. The current implementation is searching for nodes that match 'x' and 
> 'OR' and 'y' all at the same time, using the query plan
> {code}
> +text:{* TO *} +(+:fulltext:hello +:fulltext:or +:fulltext:hallo)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to