Quick Start Guide for RediSearch
Running with Docker
Download and running binaries
First download the pre-compiled version from .
First, clone the git repo:
git clone --recursive https://github.com/RediSearch/RediSearch.git
Next, build:
make run
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
Adding documents to the index
2) "doc1"
3) 1) "title"
2) "hello world"
4) "lorem ipsum"
5) "url"
6) "http://redis.io"
Note