mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-26 21:17:49 +01:00
This commit is contained in:
parent
f83f8631ac
commit
8b490b9b94
1 changed files with 8 additions and 1 deletions
|
@ -4,6 +4,12 @@ import config from '../config';
|
|||
const index = {
|
||||
settings: {
|
||||
analysis: {
|
||||
normalizer: {
|
||||
lowercase_normalizer: {
|
||||
type: 'custom',
|
||||
filter: ['lowercase']
|
||||
}
|
||||
},
|
||||
analyzer: {
|
||||
bigram: {
|
||||
tokenizer: 'bigram_tokenizer'
|
||||
|
@ -24,7 +30,8 @@ const index = {
|
|||
text: {
|
||||
type: 'text',
|
||||
index: true,
|
||||
analyzer: 'bigram'
|
||||
analyzer: 'bigram',
|
||||
normalizer: 'lowercase_normalizer'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue