summaryrefslogtreecommitdiff
path: root/core/src/test/resources/org/elasticsearch/index/mapper/dynamictemplate/simple/test-mapping.json
blob: 9c8f8d8e6a394c1ac9f5cd302e4aef5f770fe6e4 (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
{
    "person":{
        "dynamic_templates":[
            {
                "tempalte_1":{
                    "match":"multi*",
                    "mapping":{
                        "type":"{dynamic_type}",
                        "index":"analyzed",
                        "store":"yes",
                        "fields":{
                            "org":{
                                "type":"{dynamic_type}",
                                "index":"not_analyzed",
                                "store":"yes"
                            }
                        }
                    }
                }
            },
            {
                "template_2":{
                    "match":"*",
                    "match_mapping_type":"string",
                    "mapping":{
                        "type":"string",
                        "index":"not_analyzed"
                    }
                }
            }
        ]
    }
}