kevy4.0

IDX.EXPLAIN

The IDX.QUERY parse without the execution: kind, state, est_rows, and the plan line.

IDX.EXPLAIN name RANGE min max|EQ value|MATCH text|KNN vector|GROUPS [args ...]
Group
Indexes
Since
3.0.0
Arity
at least 2
Flags
readonly extension

Complexity

The plan is parse-only, but est_rows costs the same live stats walk as IDX.LIST

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

kevy only

kevy has this; Redis does not. nearest is FT.EXPLAIN, which returns a parsed query tree; ours returns kind, build state, estimated rows and a one-line plan

See also

IDX.COUNTIDX.CREATEIDX.DROPIDX.LISTIDX.QUERYIDX.REBUILDIDX.VERIFY

← All commands