Elasticsearch context window overflow with large document indices
Problem – Context Window Overflow When Querying Large Document Indices In a development sandbox with a 2 GB JVM heap, a scroll query against an index that stores full‑text documents (>10 MB _source per doc) fails with errors such as: [2026-05-30T12:34:56,789][WARN ][o.e.c.m.SearchContext] [node-1] search_context_missing_exception: [search_context_id] missing or expired circuit_breaking_exception: request size [6.3mb] is too large, limit is … Read more