[
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)