Commit de0a7a0a847cf658b57638af94496f037d34e288
1 parent
ee1b8424
Exists in
master
and in
5 other branches
Fixed UnsupportedProductError - fixes #1509
Showing
4 changed files
with
2 additions
and
9 deletions
Show diff stats
Gemfile
README.md
... | ... | @@ -58,12 +58,6 @@ Add this line to your application’s Gemfile: |
58 | 58 | gem 'searchkick' |
59 | 59 | ``` |
60 | 60 | |
61 | -For OpenSearch, also add: | |
62 | - | |
63 | -```ruby | |
64 | -gem 'elasticsearch', '< 7.14' | |
65 | -``` | |
66 | - | |
67 | 61 | The latest version works with Elasticsearch 6 and 7 and OpenSearch 1. For Elasticsearch 5, use version 3.1.3 and [this readme](https://github.com/ankane/searchkick/blob/v3.1.3/README.md). |
68 | 62 | |
69 | 63 | Add searchkick to models you want to search. | ... | ... |
gemfiles/opensearch.gemfile
searchkick.gemspec
... | ... | @@ -16,6 +16,6 @@ Gem::Specification.new do |spec| |
16 | 16 | spec.required_ruby_version = ">= 2.4" |
17 | 17 | |
18 | 18 | spec.add_dependency "activemodel", ">= 5" |
19 | - spec.add_dependency "elasticsearch", ">= 6" | |
19 | + spec.add_dependency "elasticsearch", ">= 6", "< 7.14" | |
20 | 20 | spec.add_dependency "hashie" |
21 | 21 | end | ... | ... |