From 1982dc76be4fd5717103e05cb2afb712b444b852 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Fri, 9 Dec 2016 10:51:13 +1030 Subject: [PATCH] Pin to elasticsearch API 2.0 for now --- Gemfile | 5 +++++ Gemfile.lock | 1 + 2 files changed, 6 insertions(+) diff --git a/Gemfile b/Gemfile index a91ccba45..6033dbb24 100644 --- a/Gemfile +++ b/Gemfile @@ -71,6 +71,11 @@ gem 'omniauth-facebook' # client for Elasticsearch. Elasticsearch is a flexible # and powerful, distributed, real-time search and analytics engine. # An example of the use in the project is fuzzy crop search. + +# Project does not use semver, so we want to be in sync with the version of +# elasticsearch we use +# See https://github.com/elastic/elasticsearch-ruby#compatibility +gem "elasticsearch-api", "~> 2.0.0" gem "elasticsearch-model" gem "elasticsearch-rails" diff --git a/Gemfile.lock b/Gemfile.lock index 00b5dd780..32ccd887e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -518,6 +518,7 @@ DEPENDENCIES dalli database_cleaner (~> 1.5.0) devise (>= 4.0.0) + elasticsearch-api (~> 2.0.0) elasticsearch-model elasticsearch-rails factory_girl_rails