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/User.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Bugzilla/User.pm') diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index e7a5ed481..a3a78395a 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -163,8 +163,7 @@ sub ES_PROPERTIES { }, suggest_nick => { type => 'completion', - analyzer => 'simple', - search_analyzer => 'simple', + analyzer => 'autocomplete', payloads => \1, }, login => { type => 'string' }, -- cgit v1.2.3-24-g4f1b