Reindexing
Reindexing is the process of rebuilding an index from source data according to an index definition, optionally applying transformations.
Elasticsearch in Action, Second Edition
The Elasticsearch Reindex API copies documents from a source index to a destination index, optionally applying transformations during the operation.
- How it is used
- Migrates documents to a replacement index when mappings, settings, or shard capacity must change.
- How deep it goes
- Shows the source-and-destination request format and migration workflow, while deferring detailed production scaling guidance.
- Examples
- Demonstrates copying `movies` to `movies_new` and presents generic source and destination index placeholders.
- What you can do after
- Operate/configure a replacement-index migration with `_reindex` and plan an application switch after verification.
Read how Elasticsearch in Action, Second Edition explains reindexing →
MongoDB 8.0 in Action, Third Edition
Reindexing is the process of rebuilding a search index from source data according to an updated index definition.
- How it is used
- Supports changing Atlas Search index definitions while preserving query availability during the rebuild.
- How deep it goes
- Explains the rebuild lifecycle, resource requirement, availability behavior, and triggering infrastructure events without detailing commands.
- Examples
- Uses mapping changes, Search Node additions or scaling, and internal mongot changes as rebuild scenarios.
- What you can do after
- Operate Atlas Search updates while preserving queries and planning disk capacity for background index construction.
Read how MongoDB 8.0 in Action, Third Edition explains reindexing →
Related concepts
- Elasticsearch indexproduces · An Elasticsearch index is a named, searchable collection of documents organized for querying and distributed across storage shards and replicas.
- Bulk APIalternative to · A Bulk API is an interface for submitting multiple related data operations or items in a single request.
- temperatureconfigured by · A temperature parameter adjusts the concentration of a probability distribution, affecting sampling randomness or the likelihood of accepting less favorable transitions.
- update APIused by · The Elasticsearch Update API partially modifies an existing document and can optionally create it through upsert behavior.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

