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 13:52:12 UTC

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

    [ https://issues.apache.org/jira/browse/OAK-4359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15280117#comment-15280117 ] 

Vikas Saurabh edited comment on OAK-4359 at 5/11/16 1:51 PM:
-------------------------------------------------------------

Backported to 1.4 branch at [r1743364|https://svn.apache.org/r1743364] and on 1.2 branch at [r1743366|https://svn.apache.org/r1743366].


was (Author: catholicon):
Backported to 1.4 branch at [r1743364|https://svn.apache.org/r1743364].

> 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
>             Fix For: 1.5.2, 1.2.15, 1.4.3
>
>
> 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)