Skip to content

Instantly share code, notes, and snippets.

@iBasit
Last active November 6, 2016 01:22
Show Gist options
  • Save iBasit/f1e598455a594e291b65e047f40d3f15 to your computer and use it in GitHub Desktop.
Save iBasit/f1e598455a594e291b65e047f40d3f15 to your computer and use it in GitHub Desktop.
{
"error": {
"root_cause": [
{
"type": "script_exception",
"reason": "Error evaluating pricing",
"script_stack": [],
"script": "",
"lang": "groovy"
}
],
"type": "search_phase_execution_exception",
"reason": "all shards failed",
"phase": "query",
"grouped": true,
"failed_shards": [
{
"shard": 0,
"index": "search",
"node": "HuYO1ZFGQJmSPjWS7wwY6A",
"reason": {
"type": "script_exception",
"reason": "Error evaluating pricing",
"caused_by": {
"type": "groovy_cast_exception",
"reason": "Cannot cast object '5.00' with class 'java.lang.String' to class 'int'"
},
"script_stack": [],
"script": "",
"lang": "groovy"
}
}
],
"caused_by": {
"type": "script_exception",
"reason": "Error evaluating pricing",
"caused_by": {
"type": "groovy_cast_exception",
"reason": "Cannot cast object '7.00' with class 'java.lang.String' to class 'int'"
},
"script_stack": [],
"script": "",
"lang": "groovy"
}
},
"status": 500
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment