-
I need to delete a load of documents but the Uid is not known. 1st step is to perform a search, with limit 100 and offset of 0,100,200,300 etc, then get the IDs from the results and delete those documents by id. It iterates through the records until offset reaches 1000 and then stops returning any more results (there are 95000). The filter is an array (php) like
Any other ways? Can I use the filter directly in the deleteDocuments request. The documentation seems sparse on this and worse by the fact that I'm using a php wrapper on the requests. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, I can delete documents using a filter. Earlier attempts failed because the version of the PHP library installed in the project had not yet added this as a feature. It was added June23 https://github.com/meilisearch/meilisearch-php/releases/tag/v1.2.0 |
Beta Was this translation helpful? Give feedback.
Yes, I can delete documents using a filter.
Earlier attempts failed because the version of the PHP library installed in the project had not yet added this as a feature. It was added June23 https://github.com/meilisearch/meilisearch-php/releases/tag/v1.2.0