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

Non-root lucene index throws exception if query constraints match root of sub-tree

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.2, 1.6.0
    • lucene
    • None

    Description

      LucenePropetyIndexProvider returns incorrect (normalized) path for root of sub-tree if index is defined on the sub-tree. e.g.
      /jcr:root/test//element(*, nt:base)[@foo='bar'] would fail with following defn

      + /test
          - foo="bar"
          + test1
                - foo="bar"
          + oak:index
                 - indexRules/nt:base/properties/foo/propertyIndex="true"
      

      Attachments

        Activity

          People

            catholicon Vikas Saurabh
            catholicon Vikas Saurabh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: