Releases: Sage/elastic_search_framework
v2.4.2
What's Changed
- Add ruby3 support to ShardedIndex by @adamgeorgeson in #25
- Bump version by @adamgeorgeson in #26
Full Changelog: v2.4.1...v2.4.2
v2.4.1
What's Changed
- Remove Travis Badge by @chrisbarber86 in #23
- Fix kwargs usage for Ruby 3 compatibility by @guille-sage in #24
New Contributors
- @guille-sage made their first contribution in #24
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Adds support for routing_key to be supplied for ElasticSearchFramework::IndexAlias#<get|put|delete>_item to define a custom routing key when reading or writing index documents.
Adds support for routing_key to be supplied for ElasticSearchFramework::ShardedIndex#<get|put|delete>_item to define a custom routing key when reading or writing index documents.
v2.3.1
Adds support for op_type
to be supplied for ElasticSearchFramework::Index#put_item
to allow control of PUT behavior in create scenarios.
Adds support for op_type
to be supplied for ElasticSearchFramework::IndexAlias#put_item
to allow control of PUT behavior in create scenarios.
v2.3.0
Adds support for op_type
to be supplied for ElasticSearchFramework::Repository#set
to allow control of PUT behavior in create scenarios.
See documentation for more information and accepted values.
v2.2.0
Index Alias Support.
v2.1.0
Ensures that the read timeout is set to either the value of ENV['CONNECTION_READ_TIMEOUT']
or 5 as a default.
Previously this was being set to the value of ENV['CONNECTION_OPEN_TIMEOUT']
or 1
as a default.
v2.0.1
v2.0.1
The settings method when passed multiple times it was replacing the key value instead of building a hash of data within the name / type keys.
v2.0.0
Breaking change
The index method no longer accepts shards as a parameter.
This change follows the implementation of a new settings method allowing you to pass any number of settings objects to build out the index.
Where the index method is currently being used as follows
index name: 'index_name', shards: 1
This should now look as follows.
index name 'index_name'
settings name: :number_of_shards, value: 1
v1.4.0
Added json content type to requests.