Bird
0
0

Why might reindexing with a script that modifies documents be slower than a simple reindex without a script?

hard🧠 Conceptual Q10 of 15
Elasticsearch - Index Management

Why might reindexing with a script that modifies documents be slower than a simple reindex without a script?

ABecause scripts disable automatic index creation
BBecause reindexing always requires cluster restart
CBecause the script runs on each document, adding processing overhead
DBecause scripts cause Elasticsearch to create duplicate indexes
Step-by-Step Solution
Solution:
  1. Step 1: Understand script impact on performance

    Scripts run on every document during reindex, adding CPU and time overhead.
  2. Step 2: Exclude incorrect reasons

    Reindexing does not require cluster restart, does not create duplicates, and scripts do not disable index creation.
  3. Final Answer:

    Because the script runs on each document, adding processing overhead -> Option C
  4. Quick Check:

    Scripts add per-document processing time [OK]
Quick Trick: Scripts slow reindex by processing each document [OK]
Common Mistakes:
MISTAKES
  • Thinking cluster restart is needed
  • Believing scripts create duplicates
  • Assuming scripts block index creation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes