aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/index/mwtn/mwtnMapping.json
blob: 21c7efb367efcc1716fad97359dddf95ba4d686c (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
{
    "settings": {
       "analysis": {
          "analyzer": {
             "standard": {
                 "type": "whitespace"
             }
          }
       }
    },
    "mappings": {
        "required-networkelement": {
            "date_detection": false
        },
        "maintenancemode": {
            "date_detection": false
        },
        "site": {
            "properties": {
                "id": {
                    "index": "not_analyzed",
                    "type": "string"
                },
                "name": {
                    "index": "not_analyzed",
                    "type": "string"
                },
                "location": {
                    "geohash": true,
                    "geohash_precision": 10,
                    "type": "geo_point",
                    "lat_lon": true,
                    "geohash_prefix": true
                }
            }
        },
        "site-link": {
            "properties": {
                "id": {
                    "index": "not_analyzed",
                    "type": "string"
                },
                 "siteZ": {
                    "index": "not_analyzed",
                    "type": "string"
                },
                "siteA": {
                    "index": "not_analyzed",
                    "type": "string"
                }
            }
        }
    }
}