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)

Reply via email to