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

Boosted field don't work if parent nodes are covered in aggregate definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • lucene

    Description

      With index def of the form:

      +/indexName/indexRules/nodeType1/properties/prop0
           -name=subChild/indexedProp
           -nodeScopeIndex=true
           -boost=2.0
      +indexName/aggregates/nodeType1/include0
           -path=subChild
           -relativeNode=true
      

      A query like //element(*, nodeType1)[jcr:contains(subChild, 'bar')] should rank nodes with subChild/@indexedProp=bar above other nodes with any prop =bar under subChild.

      Attachments

        1. OAK-3960.patch
          11 kB
          Vikas Saurabh

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: