Is there a way or plan to provide an HTTP API to poll for results ? What I would like to do is :
- Shoot a search query to ES and if the query is well defined get an HTTP 201 response code and some ID
- Then poll ES using the ID to check if the query is done and if it is retrieve the result
I am 97% sure there is no way to do this with the ES API but just in case I am asking.
The reason for this type of "Polling API" is that I need to run some queries that might take more than 5 minutes and I am running/shooting queries from AWS lambdas that have a 5 minute max policy (serverless crap can be painful).