diff options
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/mwtn/mwtnMapping.json')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/mwtn/mwtnMapping.json | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/mwtn/mwtnMapping.json b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/mwtn/mwtnMapping.json new file mode 100644 index 000000000..21c7efb36 --- /dev/null +++ b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/mwtn/mwtnMapping.json @@ -0,0 +1,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" + } + } + } + } +} |