mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
This commit is contained in:
parent
78b77eb474
commit
4269eed6fa
@ -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 New Issue
Block a user