Skip to content

Releases: Sage/elastic_search_framework

v2.4.2

12 Dec 11:22
c8cdd8b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.1...v2.4.2

v2.4.1

23 Oct 13:55
0ff80cb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.4.1

v2.4.0

28 Jul 11:52
83096b9
Compare
Choose a tag to compare

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

06 May 12:06
9bffd3e
Compare
Choose a tag to compare

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

05 May 19:59
00a0713
Compare
Choose a tag to compare

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

29 Apr 10:20
3646ca3
Compare
Choose a tag to compare

Index Alias Support.

v2.1.0

17 Apr 16:36
76d4b98
Compare
Choose a tag to compare

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

06 Jun 09:55
ad3ba92
Compare
Choose a tag to compare

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

31 May 13:59
d19329f
Compare
Choose a tag to compare

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

25 May 08:17
999bb08
Compare
Choose a tag to compare

Added json content type to requests.