aboutsummaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/changelog_schema.json
blob: f3211e99224045fbfd6f592734074cf64173a9e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"settings": {
    "index": {
        "analysis": {
            "analyzer": {
                "default": {
                    "type": "custom",
                    "tokenizer": "standard",
                    "filter": [ "lowercase", "asciifolding" ]
                }
            }
        }
    }
},
"mappings": {
    "changelog": {
        "properties": {
            "index":            { "type": "integer" },
            "editgroup_id":     { "type": "keyword" },
            "timestamp":        { "type": "date" },
            "editor_id":        { "type": "keyword" },
            "username":         { "type": "keyword" },
            "is_bot":           { "type": "boolean" },
            "is_admin":         { "type": "boolean" },
            "agent":            { "type": "keyword" },
            "containers":       { "type": "integer" },
            "creators":         { "type": "integer" },
            "files":            { "type": "integer" },
            "filessets":        { "type": "integer" },
            "webcaptures":      { "type": "integer" },
            "releases":         { "type": "integer" },
            "works":            { "type": "integer" },
            "created":          { "type": "integer" },
            "updated":          { "type": "integer" },
            "deleted":          { "type": "integer" },
            "total":            { "type": "integer" }
        }
    }
}
}