Description
For below index definition -
{ jcr:primaryType:"oak:QueryIndexDefinition", compatVersion:2, type:"lucene", async:"async", reindex:false, reindexCount:12, aggregates:{ jcr:primaryType:"oak:Unstructured", app:Asset:{ jcr:primaryType:"oak:Unstructured", include0:{ jcr:primaryType:"oak:Unstructured", path:"jcr:content/metadata/*" } } }, indexRules:{ jcr:primaryType:"nt:unstructured", app:Asset:{ jcr:primaryType:"nt:unstructured", properties:{ jcr:primaryType:"nt:unstructured", foo:{ jcr:primaryType:"nt:unstructured", nodeScopeIndex:true, ordered:true, propertyIndex:true, name:"jcr:content/metadata/foo", type:"Long", boost:3, nodeName:"foo" } } } } }
On executing query of form -
//element(*, app:Asset) [ jcr:contains(., 'bar' ) ]
should boost the results containing property - 'jcr:content/metadata/foo', but its ignoring index time boosting for it.