Bird
Raised Fist0

What is the primary purpose of using the _source filtering in an Elasticsearch search request?

easy🧠 Conceptual Q2 of Q15
Elasticsearch - Performance and Scaling
What is the primary purpose of using the _source filtering in an Elasticsearch search request?
ATo enable full-text search
BTo speed up indexing of documents
CTo limit the fields returned in search results
DTo control shard allocation
Step-by-Step Solution
Solution:
  1. Step 1: Understand _source filtering

    _source filtering controls which parts of the original document are returned in search results.
  2. Step 2: Identify its effect on search response

    It limits the fields returned, reducing response size and improving performance.
  3. Final Answer:

    To limit the fields returned in search results -> Option C
  4. Quick Check:

    _source filtering = limit returned fields [OK]
Quick Trick: Use _source filtering to reduce response size [OK]
Common Mistakes:
MISTAKES
  • Thinking it speeds up indexing
  • Confusing it with shard allocation
  • Assuming it enables full-text search

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes