summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-14 01:28:57 +0200
committerGitHub <noreply@github.com>2017-07-14 01:28:57 +0200
commit29aa5c4dfb0ed01a70d35ffd2781b47b0b1b225c (patch)
tree757616090c9632838ed0005a3ac0304a8752ffff /Bugzilla/User.pm
parente874d6ad1ce86e6916614c8bf35b2a5397ef023d (diff)
downloadbugzilla-29aa5c4dfb0ed01a70d35ffd2781b47b0b1b225c.tar.gz
bugzilla-29aa5c4dfb0ed01a70d35ffd2781b47b0b1b225c.tar.xz
Bug 1380407 - Make elasticsearch ircnick checks consider numbers to be valid too
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm3
1 files changed, 1 insertions, 2 deletions
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' },