Thomas Mueller created OAK-12493:
------------------------------------

             Summary: 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


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