Hi,
I have queries working in Kibana dev tool. Like this one:
GET /myindex/books/_search
{
"size":2,
"from":0,
"query": {
"match_all":{}
}
}
I want to simulate exact same queries in javascript. Meaning user would just copy the query from Kibana dev tool to a text file and my nodejs program would read it and execute against elasticesearch using elasticsearch js client.
Is it feasible?