diff options
Diffstat (limited to 'Bugzilla/Elastic.pm')
-rw-r--r-- | Bugzilla/Elastic.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Elastic.pm b/Bugzilla/Elastic.pm index fa032d2a6..3a3829e3b 100644 --- a/Bugzilla/Elastic.pm +++ b/Bugzilla/Elastic.pm @@ -12,7 +12,6 @@ use Bugzilla::Elastic::Search; use Bugzilla::Util qw(trick_taint); with 'Bugzilla::Elastic::Role::HasClient'; -with 'Bugzilla::Elastic::Role::HasIndexName'; sub suggest_users { my ($self, $text) = @_; @@ -30,7 +29,7 @@ sub suggest_users { my $result = eval { $self->client->suggest( - index => $self->index_name, + index => Bugzilla::User->ES_INDEX, body => { $field => { text => $text, |