When a remote query fails execution on Elastisearch we generate a SearchException which wraps the error message which we receive from Elasticsearch. We should also add to the message a description of which operation was attempted, i.e. what actually failed to execute. |