jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OAK-2330) Field boost not working if the property for indexing is picked using aggregate index rules
Date Wed, 10 Dec 2014 09:18:12 GMT

     [ https://issues.apache.org/jira/browse/OAK-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chetan Mehrotra reassigned OAK-2330:
------------------------------------

    Assignee: Chetan Mehrotra

> 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
>
> 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)

Mime
View raw message