From 29aa5c4dfb0ed01a70d35ffd2781b47b0b1b225c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 13 Jul 2017 19:28:57 -0400 Subject: Bug 1380407 - Make elasticsearch ircnick checks consider numbers to be valid too --- Bugzilla/Elastic/Indexer.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Bugzilla/Elastic') 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'], -- cgit v1.2.3-24-g4f1b