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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2016/05/11 12:02:13 UTC

[jira] [Created] (OAK-4359) Lucene index / compatVersion 2: search for 'a=b=c' does not work

Vikas Saurabh created OAK-4359:
----------------------------------

             Summary: Lucene index / compatVersion 2: search for 'a=b=c' does not work
                 Key: OAK-4359
                 URL: https://issues.apache.org/jira/browse/OAK-4359
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: lucene
            Reporter: Vikas Saurabh
            Assignee: Vikas Saurabh


Similar to OAK-3879, we need to escape '=' (althoug lucene [escape()|https://github.com/apache/lucene-solr/blob/releases/lucene-solr/4.7.1/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserBase.java#L988] apparently doesn't escape it).

Due to this searching for {{a=b=c}} throws parse exception from lucene query parser. Also, searching for {{a=b}} gives incorrect result.



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