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

Thomas Mueller resolved OAK-12493.
----------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed

> Simplified index management: Explicitly injected diff.index reorders 
> aggregation rules
> --------------------------------------------------------------------------------------
>
>                 Key: OAK-12493
>                 URL: https://issues.apache.org/jira/browse/OAK-12493
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>             Fix For: 2.10.0
>
>
> I found a diff.json re-ordered aggregates, which is incorrect. Child order 
> needs to be preserved.
> {noformat}
> {
>     "/oak:index/diff.index": {
>         "async": "async",
>         "includedPaths": "/same",
>         "queryPaths": "/same",
>         "type": "lucene",
>         "diff": {
>             "test.index": {
>                 "async": [ "async", "nrt" ],
>                 "compatVersion": 2,
>                 "evaluatePathRestrictions": true,
>                 "includedPaths": "/content",
>                 "queryPaths": "/content",
>                 "tags": "test",
>                 "type": "lucene",
>                 "aggregates": {
>                     "nt:base": {
>                         "include0": {
>                             "path": "*"
>                         },
>                         "include1": {
>                             "path": "*/*"
>                         }
>                     }
>                 }
>             }
>         }
>     }
> }
> {noformat}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to