Redise Modules

RediSearch : The Full Text Search Module

Real time, highly available and scalable full text search

Achieve full text search with 5x improvement in throughput and latency compared to search engines like ElasticSearch and Solr.
Gain advanced features such as scoring, filtering, query expansion using stemming, automatic suggestions and many more, delivered simply with efficient use of resources.

Benefit from the enterprise grade scale and high availability of Redise technology, that underpins these enterprise modules.

How it works

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 on top of Redis strings using the modules DMA method.
This allows much faster performance, significantly less memory consumption, and more advanced features like exact phrase matching, that are not possible with traditional Redis search approaches.
Benchmark

Download Benchmark

Quick Guide

  1. Creating an index with fields and weights: 127.0.0.1:6379> FT.CREATE myIdx SCHEMA title text WEIGHT 5.0 body text WEIGHT 1.0 url text WEIGHT 1.0 OK
  2. Adding documents to the index: 127.0.0.1:6379> FT.ADD myIdx doc1 1.0 FIELDS title “hello world” body “lorem ipsum” url “http://redislabs.com” OK
  3. Searching the index: 127.0.0.1:6379> FT.SEARCH myIdx “hello world”
    1. (integer) 1
    2. “doc1”
      1. “title”
      2. “hello world”
      3. “body”
      4. “lorem ipsum”
      5. “url”
      6. “http://redislabs.com”

Commands

Please refer to redisearch.io for a detailed listing of the commands

Request This Module