-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to delete an object from index only having an identifier #130
Comments
Hello @norkunas, feel free to implement your need in this package :) We should have test for this function of course |
Looking at how the final For a basic use case when no composite is used, we could allow to just pass int/string But if composite would be used than we'd need to manually provide the values mapping to which fields they belong and also in the same order that is retrieved to convert the composite.. Maybe a basic use case would be enough for now until someone would show an interest? |
Yes, let's keep basic for a first implementation. |
Description
Currently
MeiliSearch\Bundle\SearchService
exports method for deleting an entity, but there is no way to delete it having an identifier only. The basic use case - delete hundreds of entities in batch, then dispatch a messenger message to remove them from index, but providing only integers, as you cannot load anymore entities that do not exist.Basic example
Other
nothing more.
The text was updated successfully, but these errors were encountered: