I have an performance issue regarding deleting from elasticsearch. I
have 2 cases for deletion : 1. delete by term and 2. delete by _id. The
delete field is unique.
1. DELETE by term. The field I want to delete by term is mapped below :
Deleting query : DeleteByQueryRequestBuilder prepareDelete =
The upper deleting is taking some time comparing with the next situation
DELETE by _id*. The Suid is saved in *_id *field.
DeleteRequestBuilder prepareDelete = client.prepareDelete(); DeleteRequestBuilder deleteRequest = prepareDelete.setIndex(index).setType(table).setId(suidValue);
My question is how should I configure the elasticsearch mapping for
getting the same performance, in delete by term - first case, like in
delete by _id case - second case?
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6d5e69aa-de37-4d1a-8b7d-d5af2e143d7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.