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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

          Activity

            People

            • Assignee:
              catholicon Vikas Saurabh
              Reporter:
              Ayush__Garg Ayush Garg

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment