lib/searchkick/index.rb in searchkick-4.6.0 vs lib/searchkick/index.rb in searchkick-4.6.1

- old
+ new

@@ -361,10 +361,10 @@ index.refresh true end rescue Elasticsearch::Transport::Transport::Errors::BadRequest => e if e.message.include?("No handler for type [text]") - raise UnsupportedVersionError, "This version of Searchkick requires Elasticsearch 5 or greater" + raise UnsupportedVersionError, "This version of Searchkick requires Elasticsearch 6 or greater" end raise e end