From c86be1a778d925261c88e070ea07ab8c5fde27dd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 27 Nov 2014 23:24:21 +0100 Subject: concatenation of source-id values work now --- src/es5/sfive-init.json | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'src/es5/sfive-init.json') diff --git a/src/es5/sfive-init.json b/src/es5/sfive-init.json index 75e284e..4ebfd92 100644 --- a/src/es5/sfive-init.json +++ b/src/es5/sfive-init.json @@ -1,24 +1,20 @@ { "settings": { - "index" : { - "analysis" : { - "analyzer" : { - "default" : { - "type" : "keyword" - } - } - } - } }, "mappings" : { "dataupdate" : { "properties" : { - "source-id": { "type": "string" }, + "source-id": { + "type": "string", + "index" : "not_analyzed", + "store": true + }, "SourceHubDataUpdateId" : { "type" : "long" }, "SourceHubUuid" : { - "type" : "string" + "type" : "string", + "index" : "not_analyzed" }, "data" : { "properties" : { @@ -38,6 +34,7 @@ }, "hostname" : { "type" : "string", + "index" : "not_analyzed", "copy_to": "source-id" }, "start-time" : { @@ -48,13 +45,18 @@ "properties" : { "content-id" : { "type" : "string", + "index" : "not_analyzed", "copy_to": "source-id" }, "format" : { - "type" : "string" + "type" : "string", + "index" : "not_analyzed", + "copy_to": "source-id" }, "quality" : { - "type" : "string" + "type" : "string", + "index" : "not_analyzed", + "copy_to": "source-id" } } }, -- cgit v1.2.3