From 5fb79e7cdc14688ab277318a977be76d801c55fd Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 16 Nov 2014 08:25:26 +0000
Subject: [PATCH] use []interface{} for token_filters in autocompletion custom
 analyzer

---
 database.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/database.go b/database.go
index d488ccb..101e413 100644
--- a/database.go
+++ b/database.go
@@ -152,7 +152,7 @@ func defaultIndexMapping() *bleve.IndexMapping {
 		map[string]interface{}{
 			"type":      "custom",
 			"tokenizer": "unicode",
-			"token_filters": []string{
+			"token_filters": []interface{}{
 				"to_lower",
 				"stop_en",
 				"edgeNgram325",
-- 
GitLab