When I run the below Elasticsearch DSL query on Kibana Dev console it returns the result properly and I was trying to run the same through URI based query as HTTP URL its not working. I have tried search on doc and good, not getting the exact way to frame this query as HTTP based GET url.
GET _search
{
"size": 100,
"_source": [
"fieldname1",
"fieldname2"
],
"query": {
"bool": {
"must": {
"exists": {
"field": "fieldname2"
}
},
"must_not": {
"match": {
"fieldname2": "*IGNORE*"
}
}
}
}
}
Any hints please.