No search context found for id

I have a problem. elasticsearch queries data in batches by scroll. no matter how big the batch number is, only the data of the first batch can be queried. no search context found for id... Is the timeout period of the context set large enough or the same error is reported, will the search context be automatically deleted within es...

From Elastic Search to Elasticsearch

Removed elastic-app-search

If you're using the scroll query, it could very well be timing out. You can specify a timeout of up to 1d in the request if that helps.

It's also worth noting that we recommend using search after over scroll in newer versions of Elasticsearch.

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