Index alias.
also: index aliases · alias swap · zero-downtime reindexing · reindex · reindexingA stable name pointing to a real index; reindex into a new index, then swap the alias atomically for a zero-downtime switch.
the two-minute refresher
- Mapping or analyzer changes need a full reindex.
- The application always queries 'products'; the alias points at products_v1.
- Build products_v2, catch up on changes, then swap the alias in one atomic step.
- Rollback is swapping the alias back.