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

XPath: Query with mixed full-text, "and", "or" conditions fails

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.0.9, 1.1.2
    • query
    • None

    Description

      When performing a query like

              //element(*, test:Asset)[
                  (
                      jcr:contains(., 'summer')
                      or
                      jcr:content/metadata/@tags = 'namespace:season/summer'
                  ) and
                      jcr:contains(jcr:content/metadata/@format, 'image')
                  ]
      
      

      The Lucene/Aggregate returns as well nodes that does not match all the
      criterias.

      Attachments

        Activity

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

          People

            thomasm Thomas Mueller
            edivad Davide Giannella
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment