From c69b399e413974e973ba6b87f23107395b338c99 Mon Sep 17 00:00:00 2001 From: Nic Pottier Date: Thu, 5 Apr 2018 12:05:35 -0500 Subject: [PATCH] tokenize the location name --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index fc8e37b..856bd6e 100644 --- a/main.go +++ b/main.go @@ -379,7 +379,8 @@ const indexSettings = ` "locations": { "tokenizer": "location_tokenizer", "filter": [ - "lowercase" + "lowercase", + "word_delimiter" ] } },