[
https://issues.apache.org/jira/browse/OAK-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Saar updated OAK-3960:
--------------------------------
Fix Version/s: 1.5.17
> Boosted field don't work if parent nodes are covered in aggregate definition
> ----------------------------------------------------------------------------
>
> Key: OAK-3960
> URL: https://issues.apache.org/jira/browse/OAK-3960
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: lucene
> Reporter: Vikas Saurabh
> Assignee: Vikas Saurabh
> Labels: lucene
> Fix For: 1.5.17, 1.6
>
> Attachments: OAK-3960.patch
>
>
> With index def of the form:
> {noformat}
> +/indexName/indexRules/nodeType1/properties/prop0
> -name=subChild/indexedProp
> -nodeScopeIndex=true
> -boost=2.0
> +indexName/aggregates/nodeType1/include0
> -path=subChild
> -relativeNode=true
> {noformat}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)