Commit 193990c531b38ab0a5cb352a9cf9a3d0b8563754

Authored by Andrew Kane
1 parent 0ab2b356

Fixed error message [skip ci]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/searchkick/index.rb
... ... @@ -363,7 +363,7 @@ module Searchkick
363 363 end
364 364 rescue Elasticsearch::Transport::Transport::Errors::BadRequest => e
365 365 if e.message.include?("No handler for type [text]")
366   - raise UnsupportedVersionError, "This version of Searchkick requires Elasticsearch 5 or greater"
  366 + raise UnsupportedVersionError, "This version of Searchkick requires Elasticsearch 6 or greater"
367 367 end
368 368  
369 369 raise e
... ...