In some ways, a duplicate of an elasticsearch request to return all records . But we can add a little more detailed information to solve problematic issues. (More precisely, "it seems a bit of a hit with a snapshot that I don't need.")
A scroll scrolling search is definitely what you want in this case. the "snapshot" here is not too much. The documentation describes this metaphorically as โlike a snapshot in timeโ (in italics). The real implementation details are a little more subtle and pretty smart.
A slightly more detailed explanation comes later in the documentation:
, , . , , . Elasticsearch , .
, , , - - , Lucene. Lucene , -. ( ), Lucene . : .
, , Lucene . , , . , Lucene , .
, Lucene , B-. , IO . .
, , Elasticsearch, , , . , : . , , , .
, . , , , , , . , 2-3 .