You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2014/12/22 05:10:15 UTC
[jira] [Closed] (OAK-2330) Field boost not working if the property
for indexing is picked using aggregate index rules
[ https://issues.apache.org/jira/browse/OAK-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amit Jain closed OAK-2330.
--------------------------
Bulk close for 1.0.9
> Field boost not working if the property for indexing is picked using aggregate index rules
> ------------------------------------------------------------------------------------------
>
> Key: OAK-2330
> URL: https://issues.apache.org/jira/browse/OAK-2330
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: oak-lucene
> Affects Versions: 1.0.8, 1.1.2
> Reporter: Rishabh Maurya
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.0.9, 1.1.4
>
>
> For below index definition -
> {code}
> {
> 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"
> }
> }
> }
> }
> }
> {code}
> On executing query of form -
> {code}
> //element(*, app:Asset)
> [
> jcr:contains(., 'bar' )
> ]
> {code}
> should boost the results containing property - 'jcr:content/metadata/foo', but its ignoring index time boosting for it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)