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 "Rishabh Maurya (JIRA)" <ji...@apache.org> on 2014/12/09 15:02:12 UTC
[jira] [Created] (OAK-2330) Field boost not working if the property
for indexing is picked using aggregate index rules
Rishabh Maurya created OAK-2330:
-----------------------------------
Summary: 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.1.2, 1.0.8
Reporter: Rishabh Maurya
Priority: Minor
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)