Bird
Raised Fist0

Which parameter is essential to keep the scroll context alive between requests?

easy🧠 Conceptual Q2 of Q15
Elasticsearch - Advanced Patterns
Which parameter is essential to keep the scroll context alive between requests?
Ascroll_id
Bsize
Cscroll
Dfrom
Step-by-Step Solution
Solution:
  1. Step 1: Identify scroll context parameter

    The 'scroll' parameter defines how long Elasticsearch keeps the search context alive for scrolling.
  2. Step 2: Differentiate from other parameters

    'scroll_id' identifies the batch, 'size' controls batch size, 'from' is for pagination but not scroll context.
  3. Final Answer:

    'scroll' parameter keeps the scroll context alive -> Option C
  4. Quick Check:

    Scroll context lifetime = 'scroll' parameter [OK]
Quick Trick: 'scroll' sets context lifetime; 'scroll_id' fetches next batch [OK]
Common Mistakes:
MISTAKES
  • Confusing 'scroll' with 'scroll_id'
  • Using 'from' for scrolling
  • Ignoring 'scroll' parameter duration

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes