You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/09/02 11:24:51 UTC

[jira] [Resolved] (OAK-902) Lucene fulltext query: "contains(*, 'x OR y')" not working

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

Alex Parvulescu resolved OAK-902.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9

it appears this is no longer an issue (test passing, code has changed a lot since)
                
> 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
>             Fix For: 0.9
>
>
> 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