Commit 5fb79e7c authored by ale's avatar ale

use []interface{} for token_filters in autocompletion custom analyzer

parent 7ccb9104
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment