forked from eyseman/es-gazetteer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
geonames_mapping.json
29 lines (29 loc) · 1.25 KB
/
geonames_mapping.json
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
{
"settings" : {
"number_of_shards" : 1,
"number_of_replicas" : 1
},
"mappings" : {
"properties" : {
"geonameid" : {"type" : "keyword", "index": "true"},
"name" : {"type" : "text"},
"asciiname" : {"type" : "text"},
"alternativenames" : {"type" : "text", "similarity" : "boolean"},
"coordinates" : {"type" : "geo_point"},
"feature_class" : {"type" : "keyword", "index": "true"},
"feature_code" : {"type" : "keyword", "index": "true"},
"country_code2" : {"type" : "keyword", "index": "true"},
"country_code3" : {"type" : "keyword", "index": "true"},
"cc2" : {"type" : "keyword"},
"admin1_code" : {"type" : "keyword", "index": "true"},
"admin2_code" : {"type" : "keyword", "index": "true"},
"admin3_code" : {"type" : "keyword", "index": "true"},
"admin4_code" : {"type" : "keyword", "index": "true"},
"population" : {"type" : "long"},
"elevation" : {"type" : "long"},
"dem" : {"type" : "long"},
"timzeone" : {"type" : "keyword", "index": "true"},
"modification_date" : {"type" : "date", "format": "date"}
}
}
}