Skip to content
Permalink
Browse files

Updated comment [skip ci]

  • Loading branch information...
ankane committed Oct 7, 2019
1 parent ee58d74 commit 6e6e921314ce9f9af47719ff003373cebc9007a0
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/searchkick/query.rb
@@ -435,8 +435,9 @@ def prepare
if models.any? { |m| m != m.searchkick_klass }
Searchkick.warn("Passing child models to models option throws off hits and pagination - use type option instead")

# uncomment once aliases are supported with _index
# see https://github.com/elastic/elasticsearch/issues/23306
# TODO uncomment once aliases are supported with _index
# should be ES 7.5
# see https://github.com/elastic/elasticsearch/pull/46640
# index_type_or =
# models.map do |m|
# v = {_index: m.searchkick_index.name}

0 comments on commit 6e6e921

Please sign in to comment.
You can’t perform that action at this time.