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

Enable exclusion of relative property in aggregation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.24, 1.2.8, 1.3.11
    • 1.0.24, 1.2.8, 1.3.11, 1.4
    • lucene
    • None

    Description

      If a Lucene index has aggregation rule defined covering any child node then currently its not possible to exclude any relative property from getting indexed.

      + aggregates
          + nt:file
            + include0
              - path = "jcr:content"
          + oak:TestNode
              + include0
                 - path = '*'
      + indexRules
          + oak:TestNode
               + properties
                   + prop1
                        - name = 'original/jcr:content/type'
                        - index = false
      

      For above index definition and below content

      /testnode/a (oak:TestNode)
      + original (nt:file)
          + jcr:content
            - jcr:data = <>
            - type = "image"
      

      'original/jcr:content/type' property should not be include in fulltext index for /test/a via aggregation

      Attachments

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: