Skip to content
Snippets Groups Projects
Commit 8b490b9b authored by syuilo's avatar syuilo
Browse files

#2607

parent f83f8631
No related branches found
No related tags found
No related merge requests found
......@@ -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'
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment