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

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

    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

        1. OAK-2249-test.patch
          5 kB
          Davide Giannella

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: