XPath '=' comparison operator results in a redundant "or" in the lucene query
-----------------------------------------------------------------------------

                 Key: JCR-1189
                 URL: https://issues.apache.org/jira/browse/JCR-1189
             Project: Jackrabbit
          Issue Type: Bug
          Components: query
    Affects Versions: 1.3.3
            Reporter: Ard Schrijvers
            Priority: Trivial
             Fix For: 1.4


This issue has no real consequences as far as I can see (perhaps some 
performance, but lucene might ignore it though), but an XPath like

//[EMAIL PROTECTED]'test']

results in for example

(_:PROPERTIES:1:mytext?test  _:PROPERTIES:1:mytext?test )

while adding a space, like 

//[EMAIL PROTECTED]'test ']

does result in 

(_:PROPERTIES:1:mytext?test  )

Suppose it is somewhere in the generated code at 
org.apache.jackrabbit.core.query.xpath. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to