A query and indexing engine for Redis, providing secondary indexing, full-text search, vector similarity search and aggregations.
RediSearch is a Redis module that provides querying, secondary indexing, and full-text search for Redis. To use RediSearch, you first declare indexes on your Redis data. You can then use the RediSearch query language to query that data.
RediSearch uses compressed, inverted indexes for fast indexing with a low memory footprint.
RediSearch indexes enhance Redis by providing exact-phrase matching, fuzzy search, and numeric filtering, among many other features.
If you're just getting started with RediSearch, check out the official RediSearch tutorial. Also, consider viewing our RediSearch video explainer.
The fastest way to get up and running with RediSearch is by using the Redis Stack Docker image.
Learn for free at Redis University
Build faster with the Redis Launchpad
To try RediSearch, either use the RediSearch Docker image, or create a free Redis Cloud Essentials account to get a RediSearch instance in the cloud.
The Redis Stack Docker image makes it easy to try RediSearch.
To create a local RediSearch container, run:
$ docker run -p 6379:6379 redis/redis-stack-server:latest
To connect to this instance, run:
$ redis-cli
The RediSearch documentation provides a complete overview of RediSearch. Helpful sections include:
Got questions? Join us in #redisearch on the Redis Discord server.
If you have a more detailed question, drop us a line on the RediSearch Discussion Forum.
NRedisStack | Jedis | node-redis | redis-py |
Redis.OM | Redis OM Spring | redis-om-node | redis-om |
Project | Language | License | Author | Stars |
---|---|---|---|---|
redisson | Java | MIT | Redisson | |
redisearch-go | Go | BSD | Redis | |
rueidis | Go | Apache 2.0 | Rueian | |
redisearch-php | PHP | MIT | Ethan Hann | |
php-redisearch | PHP | MIT | MacFJA | |
redisearch-api-rs | Rust | BSD | Redis | |
redi_search_rails | Ruby | MIT | Dmitry Polyakovsky | |
redisearch-rb | Ruby | MIT | Victor Ruiz | |
redi_search | Ruby | MIT | Nick Pezza | |
coredis | Python | MIT | Ali-Akber Saifee |
RediSearch has a distributed cluster version that scales to billions of documents across hundreds of servers. At the moment, distributed RediSearch is available as part of Redis Cloud and Redis Enterprise Software.
See RediSearch on Redis Enterprise for more information.
RediSearch is licensed under the Redis Source Available License 2.0 (RSALv2) or the Server Side Public License v1 (SSPLv1).