jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayush Garg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-7605) Giving multiple result when executing query (for a constraints with OR condition) for Facetextraction
Date Wed, 04 Jul 2018 10:50:00 GMT
Ayush Garg created OAK-7605:
-------------------------------

             Summary: Giving multiple result when executing query (for a constraints with
OR condition) for Facetextraction
                 Key: OAK-7605
                 URL: https://issues.apache.org/jira/browse/OAK-7605
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: lucene, query
            Reporter: Ayush Garg
         Attachments: FacetOnORTest.java

For testing this error run the test method "testFacetOnOR2()" in attached java file.

In this test method three node are created and properties are set to the nodes.

A Xpath query    "*//*[( @test = 't1' or @name='Node1')] /(rep:facet(text))/(rep:facet(test))/(rep:facet(name))
order by jcr:path*";

when this query runs it should give the result set of size 2. but it is giving the result
set of size 3.

For more understanding please run the test method  "testFacetOnOR2()"  in attached java
file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message