redisearch php,RediSearch是redis的一个全文搜索模块

RediSearch是RedisLabs提供的一种基于Redis的搜索引擎,它使用特殊的压缩数据类型存储倒排索引,实现快速搜索和低内存占用。RediSearch支持全文索引、增量索引、复杂布尔查询、精确短语匹配、模糊匹配、自动补全、字段限制搜索、数值过滤等高级特性,并可用于分布式集群,适用于大规模文档搜索场景。
摘要由CSDN通过智能技术生成

68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f726564697365617263682f726564697365617263682e7376673f736f72743d73656d76657268747470733a2f2f636972636c6563692e636f6d2f67682f526564695365617263682f526564695365617263682f747265652f6d61737465722e7376673f7374796c653d73766768747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f636c6f75642f6275696c642f72656469736c6162732f726564697365617263682e73766768747470733a2f2f696d672e736869656c64732e696f2f62616467652f466f72756d2d526564695365617263682d626c756568747470733a2f2f6261646765732e6769747465722e696d2f52656469734c6162732f526564695365617263682e73766768747470733a2f2f636f6465636f762e696f2f67682f526564695365617263682f526564695365617263682f6272616e63682f6d61737465722f67726170682f62616467652e737667

RediSearch

Full-Text search over Redis by RedisLabs

logo.svg?sanitize=true

Overview

RediSearch implements a search engine on top of Redis, but unlike other Redis search libraries, it does not use internal data structures like Sorted Sets.

Inverted indexes are stored as a special compressed data type that allows for fast indexing and search speed, and low memory footprint.

This also enables more advanced features, like exact phrase matching and numeric filtering for text queries, that are not possible or efficient with traditional Redis search approaches.

Docker Image

$ docker run -p 6379:6379 redislabs/redisearch:latest

Mailing List / Forum

Got questions? Feel free to ask at the RediSearch mailing list.

Client Libraries

Official (Redis Labs) and community Clients:

Language

Library

Author

License

Comments

Python

Redis Labs

BSD

Usually the most up-to-date client library

Java

Redis Labs

BSD

Go

Redis Labs

BSD

Incomplete API

JavaScript

Kyle J. Davis

MIT

Partial API, compatible with Reds

JavaScript

Kyle J. Davis

MIT

C#

Marc Gravell

MIT

Part of StackExchange.Redis

PHP

Ethan Hann

MIT

Ruby on Rails

Dmitry Polyakovsky

MIT

Ruby

Victor Ruiz

MIT

Ruby

Nick Pezza

MIT

Also works with Ruby on Rails

Features:

Full-Text indexing of multiple fields in documents.

Incremental indexing without performance loss.

Document ranking (provided manually by the user at index time).

Field weights.

Complex boolean queries with AND, OR, NOT operators between sub-queries.

Prefix matching, fuzzy matching and exact phrase search in full-text queries.

Support for DM phonetic matching

Auto-complete suggestions (with fuzzy prefix suggestions).

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

Support for logographic (Chinese, etc.) tokenization and querying (using Friso)

Limiting searches to specific document fields (up to 128 fields supported).

Numeric filters and ranges.

Lightweight tag fields for exact-match boolean queries

Geographical search utilizing Redis' own GEO commands.

A powerful aggregations engine.

Supports any utf-8 encoded text.

Retrieve full document content or just ids.

Automatically index existing HASH keys as documents.

Document deletion.

Sortable properties (i.e. sorting users by age or name).

Cluster Support

RediSearch has a distributed cluster version that can scale to billions of documents and hundreds of servers. However, at the moment it is only available as part of Redis Labs Enterprise. See the Redis Labs Website for more info and contact information.

License

Redis Source Available License Agreement - see LICENSE

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值