Release CHANGELOG:
This version introduces features released on Meilisearch v1.2.0 🎉
Check out the changelog of Meilisearch v1.2.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
-
Addition of the method
DeleteDocumentsByFilter, this method takes aninterface{}which allows you to send different types of filters (string,[]string,[]interface{}{[]string{}}, ...). Thefilterfield works precisely like thefilterfield used on the search method. See the docs on how to use filters. #440 @alallema⚠️ You must configure the attributes you want to filter using the
Index.UpdateFilterableAttributes().
⚠️ Remember to update your Meilisearch server to v1.2.0 or newer before adopting it. -
Add the ability to add
Filterin theDocumentsQuery. When a query with afilteris sent togetDocuments, it will filter the documents like thesearchmethod. See the docs on how to use filters. #439 @alallema⚠️ You must configure the attributes you want to filter using the
Index.UpdateFilterableAttributes().
⚠️ Remember to update your Meilisearch server to v1.2.0 or newer before adopting it.