Recognize an index and its access contract
#FT.CREATE declares a Search index schema over HASH or JSON documents. TAG, TEXT and NUMERIC have distinct query semantics; SORTABLE supports the requested sorting access. The index is additional state, not a relational integrity constraint.
Fragment
Native commands in one redis-cli session; # lines are explanatory, not commands. Examples use disposable ref:* keys.