jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1189) XPath '=' comparison operator results in a redundant "or" in the lucene query
Date Thu, 25 Oct 2007 15:05:51 GMT
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

//*[@mytext='test']

results in for example

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

while adding a space, like 

//*[@mytext='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.


Mime
View raw message