- Improved examples and instructions in README and code annotations
- Prevented index methods to swallow all exceptions
- Added the
:validate
option to thesave
method for models - Added support for searching across multiple models (elastic#345), including documentation, examples and tests
- Improved documentation
- Added dynamic getter/setter (block/proc) for
MyModel.index_name
- Added the
update_document_attributes
method - Added, that records to import can be limited by the
query
option
- Improved documentation
- Fixes and improvements to the "will_paginate" integration
- Added a
:preprocess
option to theimport
method - Changed, that attributes are fetched from
as_indexed_json
in theupdate_document
method - Added an option to the import method to return an array of error messages instead of just count
- Fixed many problems with dependency hell
- Fixed tests so they run on Ruby 2.2
- Properly delegate existence methods like
result.foo?
toresult._source.foo
- Exception is raised when
type
is not passed to Mappings#new - Allow passing an ActiveRecord scope to the
import
method - Added, that
each_with_hit
andmap_with_hit
inElasticsearch::Model::Response::Records
callto_a
- Added support for
will_paginate
pagination library - Added the ability to transform models during indexing
- Added explicit
type
andid
methods to Response::Result, aliasing_type
and_id
- Improved documentation and tests
- Fixed Kaminari implementation bugs and inconsistencies