Advertisement
Kulasangar

Untitled

Oct 31st, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. {
  2. "error": {
  3. "root_cause": [
  4. {
  5. "type": "script_exception",
  6. "reason": "runtime error",
  7. "script_stack": [
  8. "Double.parseDouble(doc['chargeamount'].value)",
  9. " ^---- HERE"
  10. ],
  11. "script": "Double.parseDouble(doc['chargeamount'].value)",
  12. "lang": "painless"
  13. }
  14. ],
  15. "type": "search_phase_execution_exception",
  16. "reason": "all shards failed",
  17. "phase": "query",
  18. "grouped": true,
  19. "failed_shards": [
  20. {
  21. "shard": 0,
  22. "index": "test",
  23. "node": "8WgW3lD5TT2pkLf4vACxww",
  24. "reason": {
  25. "type": "script_exception",
  26. "reason": "runtime error",
  27. "caused_by": {
  28. "type": "wrong_method_type_exception",
  29. "reason": "cannot convert MethodHandle(Doubles)double to (Object)String"
  30. },
  31. "script_stack": [
  32. "Double.parseDouble(doc['chargeamount'].value)",
  33. " ^---- HERE"
  34. ],
  35. "script": "Double.parseDouble(doc['chargeamount'].value)",
  36. "lang": "painless"
  37. }
  38. }
  39. ],
  40. "caused_by": {
  41. "type": "script_exception",
  42. "reason": "runtime error",
  43. "caused_by": {
  44. "type": "wrong_method_type_exception",
  45. "reason": "cannot convert MethodHandle(Doubles)double to (Object)String"
  46. },
  47. "script_stack": [
  48. "Double.parseDouble(doc['chargeamount'].value)",
  49. " ^---- HERE"
  50. ],
  51. "script": "Double.parseDouble(doc['chargeamount'].value)",
  52. "lang": "painless"
  53. }
  54. },
  55. "status": 500
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement