Commit ee62747af38b264574995341b70bdad432f65e0f
1 parent
08ca230a
Exists in
master
Revert "Improved error message for unsupported versions of Elasticsearch - #1569"
This reverts commit 08ca230a5caf93bb42f69bbb1a64034136780a9b.
Showing
2 changed files
with
0 additions
and
7 deletions
Show diff stats
CHANGELOG.md
lib/searchkick/index_options.rb
@@ -7,8 +7,6 @@ module Searchkick | @@ -7,8 +7,6 @@ module Searchkick | ||
7 | end | 7 | end |
8 | 8 | ||
9 | def index_options | 9 | def index_options |
10 | - raise UnsupportedVersionError if below70? | ||
11 | - | ||
12 | # mortal symbols are garbage collected in Ruby 2.2+ | 10 | # mortal symbols are garbage collected in Ruby 2.2+ |
13 | custom_settings = (options[:settings] || {}).deep_symbolize_keys | 11 | custom_settings = (options[:settings] || {}).deep_symbolize_keys |
14 | custom_mappings = (options[:mappings] || {}).deep_symbolize_keys | 12 | custom_mappings = (options[:mappings] || {}).deep_symbolize_keys |
@@ -550,9 +548,5 @@ module Searchkick | @@ -550,9 +548,5 @@ module Searchkick | ||
550 | def below73? | 548 | def below73? |
551 | Searchkick.server_below?("7.3.0") | 549 | Searchkick.server_below?("7.3.0") |
552 | end | 550 | end |
553 | - | ||
554 | - def below70? | ||
555 | - Searchkick.server_below?("7.0.0") | ||
556 | - end | ||
557 | end | 551 | end |
558 | end | 552 | end |