当前位置:   article > 正文

redisearch php,redisearch: RediSearch是一个高性能的全文搜索引擎,可作为一个Redis Module 运行在Redis上,由RedisLabs团队开发...

full-text indexing of multiple fields in redis hashes

redisearch.svg?sort=semver

master.svg?style=svg

redisearch.svg

Forum-RediSearch-blue

697882427875393627?style=flat-square

badge.svg

RediSearch.svg?logo=lgtm&logoWidth=18

RediSearch

Querying, secondary indexing, and full-text search for Redis

logo.svg

Overview

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.

Getting started

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.

Trying RediSearch

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.

Docker image

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

Documentation

The RediSearch documentation provides a complete overview of RediSearch. Helpful sections include:

Mailing list and forum

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.

Client libraries

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.

Other available Libraries

Language

Library

Author

License

Stars

Comments

Rust

BSD

redisearch-api-rs.svg?style=social&label=Star&maxAge=2592000

API for Redis Modules written in Rust

RediSearch features

Full-Text indexing of multiple fields in Redis hashes

Incremental indexing without performance loss

Document ranking (using tf-idf, with optional user-provided weights)

Field weighting

Complex boolean queries with AND, OR, and NOT operators

Prefix matching, fuzzy matching, and exact-phrase queries

Auto-complete suggestions (with fuzzy prefix suggestions)

Stemming-based query expansion in many languages (using Snowball)

Support for Chinese-language tokenization and querying (using Friso)

Numeric filters and ranges

Geospatial searches using Redis geospatial indexing

A powerful aggregations engine

Supports for all utf-8 encoded text

Retrieve full documents, selected fields, or only the document IDs

Sorting results (for example, by creation date)

Cluster support

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.

License

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/1000920
推荐阅读
相关标签
  

闽ICP备14008679号