diff options
Diffstat (limited to 'src/es5')
-rwxr-xr-x | src/es5/create-index-es | 2 | ||||
-rw-r--r-- | src/es5/sfive-init.json (renamed from src/es5/sfive-mapping.json) | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/es5/create-index-es b/src/es5/create-index-es index 7612f68..3318cea 100755 --- a/src/es5/create-index-es +++ b/src/es5/create-index-es @@ -5,4 +5,4 @@ if [ -z "$1" ]; then exit 1 fi -curl -XPOST 'http://stream.elevate.at:9200/'"$1"'?pretty' -d @sfive-mapping.json +curl -XPOST 'http://stream.elevate.at:9200/'"$1"'?pretty' -d @sfive-init.json diff --git a/src/es5/sfive-mapping.json b/src/es5/sfive-init.json index 6ed1772..75e284e 100644 --- a/src/es5/sfive-mapping.json +++ b/src/es5/sfive-init.json @@ -1,4 +1,15 @@ { + "settings": { + "index" : { + "analysis" : { + "analyzer" : { + "default" : { + "type" : "keyword" + } + } + } + } + }, "mappings" : { "dataupdate" : { "properties" : { |