From f7d27bc50f759f2e6643b3dc682f020e430e6352 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 4 Jul 2018 20:23:55 +0900 Subject: [PATCH] wip --- src/db/elasticsearch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/elasticsearch.ts b/src/db/elasticsearch.ts index a3ac494a8..8e86a942e 100644 --- a/src/db/elasticsearch.ts +++ b/src/db/elasticsearch.ts @@ -43,7 +43,7 @@ if (client) { properties: { text: { type: 'text', - index: 'analyzed', + index: true, analyzer: 'bigram' } }