diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-14 01:28:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-14 01:28:57 +0200 |
commit | 29aa5c4dfb0ed01a70d35ffd2781b47b0b1b225c (patch) | |
tree | 757616090c9632838ed0005a3ac0304a8752ffff /Bugzilla/Elastic | |
parent | e874d6ad1ce86e6916614c8bf35b2a5397ef023d (diff) | |
download | bugzilla-29aa5c4dfb0ed01a70d35ffd2781b47b0b1b225c.tar.gz bugzilla-29aa5c4dfb0ed01a70d35ffd2781b47b0b1b225c.tar.xz |
Bug 1380407 - Make elasticsearch ircnick checks consider numbers to be valid too
Diffstat (limited to 'Bugzilla/Elastic')
-rw-r--r-- | Bugzilla/Elastic/Indexer.pm | 5 |
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'], |