Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
First pre-release for 8.0.0
. Major versions of 8.x
will support Elasticsearch version 8.x
changing the elasticsearch
dependency's major version: gem 'elasticsearch', '~> 8'
.
All references to type
should have been removed. Document types were deprecated and do not exist in 8.x
.
The dependency from elasticsearch
on elasticsearch-transport
was updated to elastic-transport
. All 8.x
Elasticsearch APIs supported by elasticsearch
should now be supported on the Rails library. See Release notes for the Elasticsearch client 8.0 and the 8.x release notes for more information.
The gem is currently testing with Ruby 3.1, 3.2 and 3.3 and JRuby 9.4. Testing for Ruby 2.x
versions has been dropped as they're no longer updated or supported. Currently testing with Rails 6.1, 7.0 and 7.1.
debug
for debugging in development
and testing
Gemfile groups.elasticsearch
8.x.master
has been renamed to main
elasticsearch
v7.14.0.Bundler.with_clean_dev
(deprecated) to with_unbundled_env
commit
nil
document types in Multimodel commit
Pre release, backports bugfixes from master. Full CHANGELOG will be published on final release.
find_in_batches
- backport fix from the 7.x
release. Fixes #951This is a pre-release, tested with elasticsearch Ruby client version 7.6.0.
Full Changelog details will be published with the final release.
This version of the rails gems supports Elasticsearch 7.0 and Rails 6.
It has the following changes in addition to those in release 7.0.0.pre
self
as a return value of initialize
method (#897This minor release primarily added a deprecation warning if Single Table Inheritance is used. It also contains the following changes:
respond_to_missing?
to silence Ruby 2.4 warnings (#838)