IDX.REBUILDRebuild an index: a range or unique index packs its leaves, an ANN index compacts its tombstones, a global index samples its split points again. A text or agg index is refused.
| 構文 | IDX.REBUILD name |
| グループ | index |
| 引数の数 | 2 |
| 導入バージョン | 3.0.0 |
| フラグ | write, extension |
| 計算量 | Depends on the index kind, on every shard, synchronously. range / unique: O(N) to pack the leaves. global: one sample of every shard's values, then the moved entries. ann: O(V_live * ef_construction * M * dim) distance evaluations — the most expensive verb in the extension surface |
| Redis 互換性 | kevy-only: no Redis analogue — RediSearch handles HNSW deletes internally and exposes no rebuild verb |