-
Notifications
You must be signed in to change notification settings - Fork 58
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
Deleting multiple documents at once #237
Comments
is it okay for your use case to do an lapply or for loop? e.g., ids <- c(1, 5, 8)
lapply(ids, function(z) docs_delete(index='plos', type='article', id=z)) there is the delete by query API, but we don't have it implemented yet #195 - does the delete by query API do what you need? |
Yes, I will use lapply. Thank you very much. |
okay, i am going to implement the delete by query API at some point, so you can try that too when it's done |
Okay, that would be nice because lapply takes very long. I don't know if delete by query would improve the performance. |
i don't know if it would improve either, we'll see |
…ery API tweeked internal method es_POST that is also used by cluster fxns, those tests pass with changes
@Jensxy this is implemented now. |
I would like to delete multiple documents from a index with a id. For example, I like to delete the documents with the ids test_6, test_7 and test_8. How do I use docs_delete to delete them all at once?
The text was updated successfully, but these errors were encountered: