This version introduces features released on Meilisearch v1.1.0 🎉
Check out the changelog of Meilisearch v1.1.0 for more information on the changes.
If you want to adopt new features of this release, update the Meilisearch server to the according version.
🚀 Enhancements
- Add a new optional argument to
addDocumentsCsv
,addDocumentsCsvInBatches
, andupdateDocumentsCsvInBatches
. This argument allows you to customize the separator character in yourcsv
file. (#480) @brunoocasali - Add a new getter, the
facetStats
onSearchResult
(#487) @brunoocasali. - Add
$client->multiSearch()
method to execute multiple search requests simultaneously with different configurations. (#481) @brunoocasali-
Introduce
SearchQuery
builder class to build the search requests used in themultiSearch
.
Usage example:$this->client->multiSearch([ (new SearchQuery())->setIndexUid('books') ->setQuery('princ') ->setSort(['author:desc']), (new SearchQuery())->setIndexUid('movies') ->setQuery('be') ->setHitsPerPage(4) ->setFilter(['duration-float > 3']), ]);
SearchQuery
was not meant to be used if the regular$index->search()
requests (yet). -