⚠️ This issue is generated, it means the examples and the namings do not necessarily correspond to the language of this repository.
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Sorry if this is already wholly/partially implemented. Feel free to let me know about the state of this issue in the repo.
Related to meilisearch/integration-guides#261
⚠️ This issue is part of the new Meilisearch v1.2 release.
New implementation
Related to:
It gives the user the possibility to use a filter expression to retrieve documents, like in search.
Implement in the Meilisearch.Document.list method an internal conditional allowing the user to query the documents with the same method but using a new filter method.
When the user calls the get documents method with a filter argument, request POST /indexes/{index_uid}/documents/fetch using a JSON body containing an int offset, int limit, String[] fields and now String filter or String[] filter.
⚠️ If the method invocation does not contain a filter it should still call the previous implementation.
Todo:
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Sorry if this is already wholly/partially implemented. Feel free to let me know about the state of this issue in the repo.
Related to meilisearch/integration-guides#261
New implementation
Related to:
It gives the user the possibility to use a filter expression to retrieve documents, like in
search.Implement in the
Meilisearch.Document.listmethod an internal conditional allowing the user to query the documents with the same method but using a new filter method.When the user calls the get documents method with a
⚠️ If the method invocation does not contain a
filterargument, requestPOST /indexes/{index_uid}/documents/fetchusing a JSON body containing anint offset,int limit,String[] fieldsand nowString filterorString[] filter.filterit should still call the previous implementation.Todo:
Meilisearch.Document.listnew behavior keeping the old behavior when possible.