Setting
http.cors.enabled : true
http.cors.allow-origin : "*"
In Elastic config located at config/elasticsearch.yml
Fixed the Issue.
But Now i am getting
{
"error":{
"root_cause":[
{
"type":"illegal_argument_exception",
"reason":"query malformed, empty clause found at [1:533]"
}
],
"type":"illegal_argument_exception",
"reason":"query malformed, empty clause found at [1:533]"
},
"status":400
}