From 6b4d487314162c8afefad4db770c8c6df48a0dc2 Mon Sep 17 00:00:00 2001 From: aldacron Date: Thu, 18 May 2017 01:58:08 -0700 Subject: [PATCH] updated indicies --- es_mapping.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/es_mapping.yml b/es_mapping.yml index 9085ec2..8659291 100644 --- a/es_mapping.yml +++ b/es_mapping.yml @@ -18,6 +18,7 @@ settings: char_filter: - my_char_filter filter: + - resolution - lowercase - my_ngram filter: @@ -25,10 +26,13 @@ settings: type: edgeNGram min_gram: 1 max_gram: 15 + resolution: + type: pattern_capture + patterns: ["(\\d+)x(\\d+)"] char_filter: my_char_filter: type: mapping - mappings: ["-=>_", "!=>_"] + mappings: ["-=>_", "!=>_", "_=>\\u0020"] index: # we're running a single es node, so no sharding necessary, # plus replicas don't really help either.