Commit 54575f1b5edef97f6d97640fccff586139bf48b0

Authored by Andrew Kane
1 parent 4f1df0eb

Fixed warning about accessing system indices - fixes #1463

Showing 2 changed files with 5 additions and 1 deletions   Show diff stats
CHANGELOG.md
  1 +## 4.4.3 (unreleased)
  2 +
  3 +- Fixed warning about accessing system indices
  4 +
1 5 ## 4.4.2 (2020-11-23)
2 6  
3 7 - Added `missing_records` method to results
... ...
lib/searchkick/index.rb
... ... @@ -105,7 +105,7 @@ module Searchkick
105 105 indices =
106 106 begin
107 107 if client.indices.respond_to?(:get_alias)
108   - client.indices.get_alias
  108 + client.indices.get_alias(index: "#{name}*")
109 109 else
110 110 client.indices.get_aliases
111 111 end
... ...