Polling for query results

Hi,

Is there a way or plan to provide an HTTP API to poll for results ? What I would like to do is :

  1. Shoot a search query to ES and if the query is well defined get an HTTP 201 response code and some ID
  2. Then poll ES using the ID to check if the query is done and if it is retrieve the result

I am 97% sure :thinking: 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).

Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.