summaryrefslogtreecommitdiff
path: root/core/src/test/resources/org/elasticsearch/index/mapper/all/mapping.json
blob: f956b84f957edf0ff9f84b9050cb4fadd9152028 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
    "person":{
        "_all":{
            "enabled":true,
            "omit_norms":true
        },
        "properties":{
            "name":{
                "type":"object",
                "dynamic":false,
                "properties":{
                    "first":{
                        "type":"string",
                        "store":"yes",
                        "include_in_all":false
                    },
                    "last":{
                        "type":"string",
                        "index":"not_analyzed",
                        "boost":2.0
                    }
                }
            },
            "address":{
                "type":"object",
                "include_in_all":false,
                "properties":{
                    "first":{
                        "properties":{
                            "location":{
                                "type":"string",
                                "store":"yes"
                            }
                        }
                    },
                    "last":{
                        "properties":{
                            "location":{
                                "type":"string",
                                "include_in_all":true
                            }
                        }
                    }
                }
            },
            "simple1":{
                "type":"long",
                "include_in_all":true
            },
            "simple2":{
                "type":"long",
                "include_in_all":false
            }
        }
    }
}