summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-04 20:23:55 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-04 20:23:55 +0900
commitccc79eac91b2e8b3a0371ee65ee916a2c42ed733 (patch)
tree1fb163466a705fc8b0d5f7666f976f08f6d040c5 /src
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadsharkey-ccc79eac91b2e8b3a0371ee65ee916a2c42ed733.tar.gz
sharkey-ccc79eac91b2e8b3a0371ee65ee916a2c42ed733.tar.bz2
sharkey-ccc79eac91b2e8b3a0371ee65ee916a2c42ed733.zip
wip
Diffstat (limited to 'src')
-rw-r--r--src/db/elasticsearch.ts2
1 files changed, 1 insertions, 1 deletions
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'
}
}