Skip to content

v2.0.0

Compare
Choose a tag to compare
@philearley philearley released this 31 May 13:59
· 40 commits to master since this release
d19329f

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