Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TAG type
redis.cloud:6379> FT.CREATE myIdx ON HASH SCHEMA category TAG
OK
redis.cloud:6379> FT.SEARCH myIdx "@category:{foo}"
1) (integer) 1
2) "myDoc"
3) 1) "category"
2) "foo,bar,hello world"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment