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

Lucene path transformed result doesn't accomodate wildcards in relative path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.10.3, 1.8.14, 1.16.0
    • lucene
    • None

    Description

      LucenePropertyIndex support answering a query with property constraint on a relative path if there's an property (non-relative) is indexed on nt:base.
      e.g. with an index def such as

      + /oak:index/fooIndex/indexRules/nt:base/properties
         + foo
             - propertyIndex=true
      

      we can answer queries such as

      /jcr:root/a//element(*, some:type)[b/foo='bar']
      /jcr:root/a//element(*, some:type)[b/c/foo='bar']
      

      In the same spirit it could also support query with wildcard in relative path fragment

      /jcr:root/a//element(*, some:type)[b/*/foo='bar']
      

      .... but it doesn't work currently.

      Attachments

        1. OAK-8271.patch
          7 kB
          Vikas Saurabh

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: