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 "David Gonzalez (JIRA)" <ji...@apache.org> on 2017/03/24 17:59:41 UTC

[jira] [Updated] (OAK-5762) [Oak Lucene] Several full-text operators do not work (NOT, !, AND)

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

David Gonzalez updated OAK-5762:
--------------------------------
    Summary: [Oak Lucene] Several full-text operators do not work (NOT, !, AND)  (was: [Oak Lucene] NOT and ! full-text operators do not work.)

> [Oak Lucene] Several full-text operators do not work (NOT, !, AND)
> ------------------------------------------------------------------
>
>                 Key: OAK-5762
>                 URL: https://issues.apache.org/jira/browse/OAK-5762
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.6.0
>            Reporter: David Gonzalez
>
> The following 3 full-text queries return the same results. I expected the 1st to be different from the 2nd and 3rd, but the 2nd and 3rd should be identical to one another. All 3 yield the same results.
> {noformat}
> dog AND cat
> {noformat}
> {noformat}
> dog AND NOT cat
> {noformat}
> {noformat}
> dog AND !cat
> {noformat}
> The following (which, IIUC is the equivalent to NOT and !) does yield expected results.
> {noformat}
> dog AND -cat
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)