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 RediSearch Docker image.
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 RediSearch Docker image makes it easy to try RediSearch.
To create a local RediSearch container, run:
$ docker run -p 6379:6379 redislabs/redisearch: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.
You can use any standard Redis client library to run RediSearch commands, but it's easiest to use a library that wraps the RediSearch API.
Language | Library | Author | License | Stars |
---|---|---|---|---|
Python | redisearch-py | Redis Labs | BSD | |
Java (Jedis client library) | JRediSearch | Redis Labs | BSD | |
Java (Lettuce client library) | lettusearch | Redis Labs | Apache-2.0 | |
Java | spring-redisearch | Redis Labs | Apache-2.0 | |
Java | redis-modules-java | dengliming | Apache-2.0 | |
Go | redisearch-go | Redis Labs | BSD | |
JavaScript | RedRediSearch | Kyle J. Davis | MIT | |
JavaScript | redis-redisearch | Kyle J. Davis | MIT | |
TypeScript | redis-modules-sdk | Dani Tseitlin | BSD-3-Clause | |
C# | NRediSearch | Marc Gravell | MIT | |
PHP | redisearch-php | Ethan Hann | MIT | |
PHP | php-redisearch | MacFJA | MIT | |
Rust | redisearch-api-rs | Redis Labs | BSD | |
Ruby on Rails | redi_search_rails | Dmitry Polyakovsky | MIT | |
Ruby | redisearch-rb | Victor Ruiz | MIT | |
Ruby | redi_search | Nick Pezza | MIT |
Language | Library | Author | License | Stars | Comments |
---|---|---|---|---|---|
Rust | redisearch-api-rs | Redis Labs | BSD | API for Redis Modules written in Rust |
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 Enterprise Cloud and Redis Enterprise Software.
See RediSearch on Redis Enterprise for more information.
RediSearch is licensed under the Redis Source Available License Agreement.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。