summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Elastic
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Elastic')
-rw-r--r--Bugzilla/Elastic/Indexer.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Elastic/Indexer.pm b/Bugzilla/Elastic/Indexer.pm
index 35c9bb119..ab6c5dbfa 100644
--- a/Bugzilla/Elastic/Indexer.pm
+++ b/Bugzilla/Elastic/Indexer.pm
@@ -45,6 +45,11 @@ sub create_index {
},
},
analyzer => {
+ autocomplete => {
+ type => 'custom',
+ tokenizer => 'keyword',
+ filter => ['lowercase', 'asciifolding_original'],
+ },
folding => {
tokenizer => 'standard',
filter => ['standard', 'lowercase', 'asciifolding_original'],