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

        There are no Sub-Tasks for this issue.

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment