aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/mwtn/mwtnMapping.json
diff options
context:
space:
mode:
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-02-07 17:50:41 +0100
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-02-07 17:51:11 +0100
commit12a8c669f52c0e84d580c078cee849b25133b585 (patch)
tree1a0ddb6cc13f225e8a58833b8975f98b453a8d52 /sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/mwtn/mwtnMapping.json
parentbd2aa3c75e0073ff07fb46b14b8b51926915d5c8 (diff)
Add sdnr wt devicemanager
Add complete sdnr wireless transport app devicemanager Change-Id: I433014ee579a3c8833b3b8f84c4087c5f776704f Issue-ID: SDNC-575 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
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.json54
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"
+ }
+ }
+ }
+ }
+}