GregoryConrad / mimir

⚡ Supercharged Flutter/Dart Database
https://pub.dev/packages/mimir
MIT License
124 stars 9 forks source link

Delete documents by filter from Meilisearch 1.2 #214

Closed GregoryConrad closed 1 year ago

GregoryConrad commented 1 year ago

How should un-filterable fields be handled when used to delete?

  1. Trigger a reindex to run delete (seems like a bad option)
  2. Error out and say that this needs to be manually added in index settings (think this might be better)
GregoryConrad commented 1 year ago

Don't think I am going to add this as using the resulting API would be fairly unintuitive. I think I'd rather add transaction support and then get documents by filter via txn, then delete by id using that txn.