diff options
author | Max Magorsch <max@magorsch.de> | 2019-09-05 15:51:34 +0200 |
---|---|---|
committer | Max Magorsch <max@magorsch.de> | 2019-09-05 15:51:34 +0200 |
commit | c62bd4d5644a77d1224f188d092f39e0438062ec (patch) | |
tree | 8dc0d218c0dae45add04b1324111318048fa1105 /Gemfile | |
parent | Added docker-compose.override.yml for development purposes (diff) | |
download | packages-5-c62bd4d5644a77d1224f188d092f39e0438062ec.tar.gz packages-5-c62bd4d5644a77d1224f188d092f39e0438062ec.tar.bz2 packages-5-c62bd4d5644a77d1224f188d092f39e0438062ec.zip |
Migrate to ES 7.3 and the repository pattern
Elasticsearch-persistence is used as the persistence layer for Ruby
domain objects in Elasticsearch in this application. So far, the
ActiveRecord pattern has been used here. However, this pattern
has been deprecated as of version 6 of the gem and was removed in
version 7. That's why the application has been migrated to use the
repository pattern instead.
For further information, please see:
https://www.elastic.co/blog/activerecord-to-repository-changing-
persistence-patterns-with-the-elasticsearch-rails-gem
Note: The old Elasticsearch index won't be compatible with this
version anymore. That's why a fresh index should be populated.
Signed-off-by: Max Magorsch <max@magorsch.de>
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,8 +23,8 @@ gem 'jbuilder', '~> 2.0' gem 'sdoc', '~> 1.0', group: :doc # packages stuff -gem 'elasticsearch-rails', '~> 5.0' -gem 'elasticsearch-persistence', '~> 5.0' +gem 'elasticsearch-rails', '~> 7.0.0' +gem 'elasticsearch-persistence', '~> 7.0.0' gem 'nokogiri' gem 'thin' |