{"id":"secondary-index-stale-entry-cleanup","text":"Both `DocumentPartitionedDB` and `TermPartitionedDB` remove stale index entries before writing new ones during `put` and `delete`, preventing phantom results from old field values.","truth_value":"IN","source":"entries/2026/05/29/secondary-index-partitioning-secondary_index_partitioning.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"secondary-index-stale-entry-cleanup","truth_value":"IN","reason":"premise"}]}}