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-7606) Doing Faceting only on the resultset of one constraints when query contain multiple constraint with OR condition
Date Wed, 04 Jul 2018 10:57:00 GMT
Ayush Garg created OAK-7606:
-------------------------------

             Summary: Doing Faceting only on the resultset of one constraints when query contain
multiple constraint with OR condition 
                 Key: OAK-7606
                 URL: https://issues.apache.org/jira/browse/OAK-7606
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: lucene, query
            Reporter: Ayush Garg
         Attachments: FacetOnORTest.java

For understanding this error please run the test method "testFacetOnOR()"  in attached java
file.

In this method 3 nodes are created and  properties are  set to nodes.

And Xpath query is 

*"//*[(@test = 't1' or @name = 'Node2' )]/(rep:facet(text))/(rep:facet(name)) order by jcr:path"*

FacetResult should be on the final result set. But FacetResult set is based on result set
by first constraint "@test='t1' " .

For more understanding run the test method



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

Mime
View raw message