You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2018/11/30 15:29:02 UTC

[jira] [Closed] (OAK-7606) Doing Faceting only on the resultset of one constraints when query contain multiple constraint with OR condition

     [ https://issues.apache.org/jira/browse/OAK-7606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella closed OAK-7606.
---------------------------------

bulk close 1.9.12

> 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
>            Assignee: Vikas Saurabh
>            Priority: Major
>             Fix For: 1.10, 1.8.10, 1.9.12, 1.6.16
>
>         Attachments: FacetOnORTest.java
>
>
> Xpath query is  *"//*[(@test = 't1' or @name = 'Node2' )]/(rep:facet(text))/(rep:facet(name)) order by jcr:path*"
> 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.
> 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)