summaryrefslogtreecommitdiff
path: root/core/src/test/resources/org/elasticsearch/index/mapper/all/mapping_offsets_on_all.json
blob: 388ac13e9e67c40b0a7c6ce5eb04f91e2fb9369e (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 ,
            "index_options" : "offsets"
        },
        "properties":{
            "name":{
                "type":"object",
                "dynamic":false,
                "properties":{
                    "first":{
                        "type":"string",
                        "store":true,
                        "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":true
                            }
                        }
                    },
                    "last":{
                        "properties":{
                            "location":{
                                "type":"string",
                                "include_in_all":true
                            }
                        }
                    }
                }
            },
            "simple1":{
                "type":"long",
                "include_in_all":true
            },
            "simple2":{
                "type":"long",
                "include_in_all":false
            }
        }
    }
}