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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/05/06 06:42:12 UTC

[jira] [Updated] (OAK-3879) Lucene index / compatVersion 2: search for 'abc!' does not work

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

Chetan Mehrotra updated OAK-3879:
---------------------------------
    Labels: candidate_oak_1_2 docs-impacting  (was: docs-impacting)

> Lucene index / compatVersion 2: search for 'abc!' does not work
> ---------------------------------------------------------------
>
>                 Key: OAK-3879
>                 URL: https://issues.apache.org/jira/browse/OAK-3879
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Thomas Mueller
>            Assignee: Chetan Mehrotra
>              Labels: candidate_oak_1_2, docs-impacting
>             Fix For: 1.4, 1.3.15
>
>         Attachments: OAK-3879-v1.patch
>
>
> When using a Lucene fulltext index with compatVersion 2, then the following query does not return any results. When using compatVersion 1, the correct result is returned.
> {noformat}
> SELECT * FROM [nt:unstructured] AS c 
> WHERE CONTAINS(c.[jcr:description], 'abc!') 
> AND ISDESCENDANTNODE(c, '/content')
> {noformat}
> With compatVersion 1 and 2, searching for just 'abc' works. Also, searching with '=' instead of 'contains' works.



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