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.
- relates to
OAK-3367 Boosting fields not working as expected