Skip to content

v2.0.0

Compare
Choose a tag to compare
@Jeroen-G Jeroen-G released this 07 May 11:52
· 280 commits to master since this release

[2.0.0]

Added

  • Indices are now configured through a IndexConfiguration class and repository
  • Both Match and MultiMatch queries may now specify a 'fuzziness', the default stays 'auto'
  • Using the field() on the search builder you may now define specifically which field(s) should be retrieved for the documents
  • New function score compound queries that can replace the default boolean compound query
  • A static debug method to help you with the last executed query
  • Laravel Scout's take() method can be used to set the max amount of results
  • Text analysis (analyzers, tokenizers, filters, etc.) is now possible through index settings.
  • Prepare (parts of) your data before letting Elasticsearch index it.

Changed

  • Sorting now uses the default Scout orderBy() method
  • The MultiMatch now accepts a fields array with the fields to search in
  • The Engine now uses Elastic's bulk operations to speed up updates of models

Fixed

  • Running scout:flush now actually deletes the contents of an index