elasticsearch-head-chrome icon indicating copy to clipboard operation
elasticsearch-head-chrome copied to clipboard

Parameter 'text' for _analyze should be put in request body

Open QinYangFan opened this issue 5 years ago • 0 comments

The request for _analyze is send like this http://localhost:9200/ik-demo/_analyze?text=***

but, I got response code 400 {"error":{"root_cause":[{"type":"parse_exception","reason":"request body or source parameter is required"}],"type":"parse_exception","reason":"request body or source parameter is required"},"status":400}

QinYangFan avatar Mar 18 '19 07:03 QinYangFan