Quick Start Guide for RediSearch
Running with Docker
Next, build:
make build
For more elaborate build instructions, see the Development page.
Creating an index with fields and weights (default weight is 1.0)
127.0.0.1:6379> FT.CREATE myIdx SCHEMA title TEXT WEIGHT 5.0 body TEXT url TEXT
OK
Searching the index
127.0.0.1:6379> FT.DROP myIdx
OK
Adding and getting Auto-complete suggestions
OK
127.0.0.1:6379> FT.SUGGET autocomplete "he"