From ccc79eac91b2e8b3a0371ee65ee916a2c42ed733 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 a3ac494a8c..8e86a942e6 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' } }