Skip to content

v3.0.0

Choose a tag to compare

@babenkoivan babenkoivan released this 07 Oct 17:07
· 113 commits to master since this release

Added

  • New ElasticScoutDriverPlus\Support\Query builder that provides a convenient, fluent interface to create Elasticsearch queries
  • Eager loading when indexing models can be enabled with the new searchableWith method
  • New pagination modes: onlyModels and onlyDocuments

Changed

  • Dropped support for PHP 7.2
  • ElasticScoutDriverPlus\QueryDsl and ElasticScoutDriverPlus\ShardRouting traits were replaced with a single ElasticScoutDriverPlus\Searchable trait, which you need to add to your models
  • ElasticScoutDriverPlus\SearchResult was replaced with ElasticScoutDriverPlus\Decorators\SearchResult
  • ElasticScoutDriverPlus\QueryMatch was replaced with ElasticScoutDriverPlus\Decorators\Hit, this also means that you can now access hits directly from the SearchResult object
  • Custom routing now uses an actual value returned by the shardRouting method instead of a routing path