diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-18 00:20:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-18 00:20:01 +0200 |
commit | ffcb4cd902f9babafa1634e43ebee8175d073099 (patch) | |
tree | e7ad279fceef60aad7b950da8210b75f8e4231b9 /Bugzilla/Elastic | |
parent | e203bc3af47406339870e718475f0f0ea194f6c9 (diff) | |
download | bugzilla-ffcb4cd902f9babafa1634e43ebee8175d073099.tar.gz bugzilla-ffcb4cd902f9babafa1634e43ebee8175d073099.tar.xz |
Bug 1380408 - elasticsearch user completion should consider people with multiple ircnicks
Diffstat (limited to 'Bugzilla/Elastic')
-rw-r--r-- | Bugzilla/Elastic/Indexer.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Elastic/Indexer.pm b/Bugzilla/Elastic/Indexer.pm index ab6c5dbfa..46eb8f648 100644 --- a/Bugzilla/Elastic/Indexer.pm +++ b/Bugzilla/Elastic/Indexer.pm @@ -184,6 +184,7 @@ sub bulk_load { my $new_ids = $self->_select_all_ids($class, $last_id); my $updated_ids = $self->_select_updated_ids($class, $last_mtime); + $self->put_mapping($class); $self->_bulk_load_ids($bulk, $class, $new_ids) if @$new_ids; $self->_bulk_load_ids($bulk, $class, $updated_ids) if @$updated_ids; |