FT.EXPLAIN
Since 1.1.0Search
Syntax
FT.EXPLAIN index query [PARAMS …] [DIALECT n]Returns how a query is understood, as Redis writes a query plan: INTERSECT { ... }, UNION { ... }, NOT, OPTIONAL, TAG:@field { ... }, NUMERIC {lo <= @field <= hi}, VECTOR { ... }, a clause to a line. A query that does not parse is an error.
Examples
> FT.EXPLAIN products "@category:{furniture} @price:[0 100]"
INTERSECT {
TAG:@category {
furniture
}
NUMERIC {0.000000 <= @price <= 100.000000}
}