- Home
- Use cases
- Databases and data migration
- Rebuild a search index while customers keep searching
Rebuild a search index while customers keep searching
Create and validate a replacement search index before directing live queries to it, including changes made during the rebuild.
First release
Start with one collection, a repeatable indexing job, a query comparison set and a reversible routing switch.
Which updates need to be replayed before switching?
Include edits, deletions and permission changes after the initial snapshot. Index size alone cannot reveal stale or newly private results.
What affects the quote
One index built from an authoritative database can use an established change stream. Several connectors, missing deletion events and permission-index lag add reconciliation before switching traffic.
How to test the first release
Rename an item, delete another and restrict a third while building the replacement. Run the same queries before switching and verify the intended visible set for two user roles.
What to bring
Bring index settings, update events and searches with known expected results.
Launchr Space’s PostgreSQL rollout guide