Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7606

Doing Faceting only on the resultset of one constraints when query contain multiple constraint with OR condition

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        1. FacetOnORTest.java
          6 kB
          Ayush Garg

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              Ayush__Garg Ayush Garg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: