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

Wrong evaluation of NOT clause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.4, 1.3.5
    • 1.2.7, 1.3.8, 1.4
    • query
    • None

    Description

      When executing a query like

      SELECT * FROM [nt:unstructured] WHERE ISDESCENDANTNODE([/test]) AND NOT CONTAINS(foo, 'bar')
      

      and the nodeType index plays the not clause is not applied properly. Nodes *with* the property are returned as well.

      test showing the bug.

      Attachments

        1. OAK-3371.patch
          18 kB
          Davide Giannella
        2. OAK-3371-2.patch
          24 kB
          Davide Giannella
        3. OAK-3371-3-oak-core.patch
          16 kB
          Thomas Mueller
        4. OAK-3371-4-notworking.patch
          26 kB
          Davide Giannella
        5. OAK-3371-5-notworking.patch
          26 kB
          Davide Giannella
        6. OAK-3371-6.patch
          27 kB
          Davide Giannella
        7. OAK-3371-test.diff
          3 kB
          Davide Giannella

        Issue Links

          Activity

            People

              edivad Davide Giannella
              edivad Davide Giannella
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: