summaryrefslogtreecommitdiff
path: root/src/es5/sfive-init.json
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-11-27 23:24:21 +0100
committerChristian Pointner <equinox@spreadspace.org>2014-11-27 23:24:21 +0100
commitc86be1a778d925261c88e070ea07ab8c5fde27dd (patch)
tree18e86079b76a3e2b8b753b9b8834c85f362604e8 /src/es5/sfive-init.json
parentcreating index with keyword tokenizer (diff)
concatenation of source-id values work now
Diffstat (limited to 'src/es5/sfive-init.json')
-rw-r--r--src/es5/sfive-init.json28
1 files changed, 15 insertions, 13 deletions
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"
}
}
},