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] [Commented] (OAK-3633) Enable exclusion of relative property in aggregation
Date Fri, 13 Nov 2015 16:01:11 GMT

    [ https://issues.apache.org/jira/browse/OAK-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004170#comment-15004170
] 

Chetan Mehrotra commented on OAK-3633:
--------------------------------------

Done in trunk with 1714229

> Enable exclusion of relative property in aggregation
> ----------------------------------------------------
>
>                 Key: OAK-3633
>                 URL: https://issues.apache.org/jira/browse/OAK-3633
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.3.11, 1.2.8, 1.0.24
>
>
> If a Lucene index has aggregation rule defined covering any child node then currently
its not possible to exclude any relative property from getting indexed.
> {noformat}
> + aggregates
>     + nt:file
>       + include0
>         - path = "jcr:content"
>     + oak:TestNode
>         + include0
>            - path = '*'
> + indexRules
>     + oak:TestNode
>          + properties
>              + prop1
>                   - name = 'original/jcr:content/type'
>                   - index = false
> {noformat}
> For above index definition and below content
> {noformat}
> /testnode/a (oak:TestNode)
> + original (nt:file)
>     + jcr:content
>       - jcr:data = <>
>       - type = "image"
> {noformat}
> 'original/jcr:content/type' property should not be include in fulltext index for /test/a
via aggregation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message