What are you parsing it for? Are you looking for something specific? The
REST status code (associated with an ElasticSearchException, or returned as
part of the HTTP response) is usually the one you need.
On Fri, Jan 20, 2012 at 10:31 PM, Mark Waddle mark@markwaddle.com wrote:
I've found that parsing exceptions from the Java client or a REST client
is a PITA. This is especially true for search when you are getting
exceptions from numerous shards. Does anyone have a solution to this?Shay: Have you considered returning the exception data as JSON instead of
serialized strings?Mark