chewy v0.4.0 Release Notes
-
- Changed
update_index
matcher behavior. Now it compare array attributes position-independently. - Search aggregations API support ([@arion][]).
- Chewy::Query#facets called without params performs the request and returns facets.
- Added
Type.template
DSL method for root objects dynamic templates definition. See [mapping.rb](lib/chewy/type/mapping.rb) for more details. - ActiveRecord adapter custom
primary_key
support ([@matthee][]). - Urgent update now clears association cache in ActiveRecord to ensure latest changes are imported.
import
now creates index before performing.Chewy.configuration[:wait_for_status]
option. Can be set tored
,yellow
orgreen
. If set - chewy will wait for cluster status before creating, deleting index and import. Useful for specs.
- Changed