I am looking for really how i can spot that there was an error. So i know
to queue the insert (assuming its important data). For searches I will just
log them as failed but for bulk insert and bulk do i just check the status
or can it return a 200 but have a differnt type of error in the doc
On Mon, Jul 15, 2013 at 3:23 AM, Jörg Prante email@example.com wrote:
For bulk indexing, you may receive
syntax errors, if you use HTTP and the bulk format is not correct.
mapping errors, when a document contains illegal JSON syntax,
Elasticsearch will refuse to process this document.
timeout errors, when the node you use for indexing can't contact other
nodes in time.
resource errors, if the node is running out if resources you will get
all kind of nasty errors (OOM, file descriptors etc.)
For search operations, there are a lot more error possibilities regarding
to the type of operation.
I'm not sure how this error type listing can help you. You must catch
every exception on the bulk response. If you encounter one, you should stop
indexing no matter what happend.
Am 15.07.13 08:31, schrieb Alexis Okuwa:
I am finding it hard to find documentation on different types of errors I
will get from elasticsearch on errors in bulk or search or index
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/**
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
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.
For more options, visit https://groups.google.com/groups/opt_out.