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

empty resultset for PropertyIndex and multi-value properties with mixed OR+AND

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0, 1.1.0
    • 1.0.7, 1.1.1
    • core, query
    • None

    Description

      When querying an indexed property on a multi-value fields and asking
      to retrieve nodes with 2 values in 2 variants (see query below) no
      results are returned

      //*[
      (@property = 'a' or @property" = 'c')
      and
      (@property = 'b' or @property  = 'd')]
      

      Attachments

        1. OAK-2146-test.patch
          4 kB
          Davide Giannella
        2. OAK-2146-Changes.patch
          0.7 kB
          Amit Jain

        Activity

          People

            amitjain Amit Jain
            edivad Davide Giannella
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: