{
  "schema_version": 2,
  "id": "operate/oss_and_stack/stack-with-enterprise/search",
  "title": "Redis Search",
  "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/",
  "summary": "",
  "aliases": [
    "/stack/search/"
  ],
  "tags": [
    "docs",
    "operate",
    "stack"
  ],
  "last_updated": "2026-09-22T10:15:10+01:00",
  "children": [
    {
      "id": "operate/oss_and_stack/stack-with-enterprise/search/commands",
      "summary": "Lists Redis Search commands and provides links to the command reference pages.",
      "title": "Redis Search commands",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/commands/"
    },
    {
      "id": "operate/oss_and_stack/stack-with-enterprise/search/config",
      "summary": "Redis Search configuration settings supported by Redis Software and Redis Cloud.",
      "title": "Redis Search configuration compatibility with Redis Software",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/config/"
    },
    {
      "id": "operate/oss_and_stack/stack-with-enterprise/search/query-performance-factor",
      "summary": "Configure the query performance factor for Redis Search in Redis Software to increase the performance of queries.",
      "title": "Configure the query performance factor for Redis Search in Redis Software",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/query-performance-factor/"
    },
    {
      "id": "operate/oss_and_stack/stack-with-enterprise/search/scalable-query-best-practices",
      "summary": "Best practices for scalable Redis Search in Redis Software and Redis Cloud.",
      "title": "Best practices for scalable Redis Search",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/scalable-query-best-practices/"
    },
    {
      "id": "operate/oss_and_stack/stack-with-enterprise/search/search-active-active",
      "summary": "Search and query Active-Active databases.",
      "title": "Search and query Active-Active databases",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/search-active-active/"
    },
    {
      "id": "operate/oss_and_stack/stack-with-enterprise/search/redisearch-2-upgrade",
      "summary": "Upgrade a database from Search 1.x to Search 2.x.",
      "title": "Upgrade a database to Search 2.x",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/redisearch-2-upgrade/"
    }
  ],
  "page_type": "content",
  "content_hash": "3e8fc76d211ba7faff4afbd16db1f4511bb1badd32d33477eb057d83dc243114",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "The [RediSearch 2.x module](https://redis.com/blog/introducing-redisearch-2-0/) is a source-available project that lets you build powerful search queries for open source Redis databases.\nWhen combined with Redis Software, you can use the same protocols and [commands](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/commands)\nto run geo-replicated queries and full-text searches over efficient in-memory indexes."
    },
    {
      "id": "index-documents",
      "title": "Index documents",
      "role": "content",
      "text": "Redis Search indexes documents, which are objects that represent data as field-value pairs. You can index more than one field per document, and these fields can represent text, numeric, or geospatial data types.\n\nAs the documents in your database change, the index automatically processes these changes to keep the search results up to date.\n\nWith indexes, you can do:\n- Language-aware [fuzzy matching](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/query_syntax#fuzzy-matching)\n- Fast [auto-complete](https://redis.io/docs/latest/develop/ai/search-and-query/administration/overview#auto-complete)\n- [Exact phrase matching](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/query_syntax)\n- [Numeric filtering](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/query_syntax#numeric-filters-in-query)\n- [Geo-radius queries](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/query_syntax#geo-filters)"
    },
    {
      "id": "supported-document-types",
      "title": "Supported document types",
      "role": "compatibility",
      "text": "You can store documents as Redis [hashes](https://redis.io/docs/latest/develop/data-types/hashes) or [JSON](https://redis.io/docs/latest/develop/data-types/json). To search and query JSON documents, you also need to enable [JSON](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/json) in your database."
    },
    {
      "id": "hash-documents",
      "title": "Hash documents",
      "role": "content",
      "text": "With Redis [hashes](https://redis.io/docs/latest/develop/data-types/hashes), each document is assigned to a single key and uses field-value pairs to represent the document's contents.\n\nYou can run [`HGETALL`](https://redis.io/docs/latest/commands/hgetall) to retrieve the entire hash document."
    },
    {
      "id": "json-documents",
      "title": "JSON documents",
      "role": "content",
      "text": "You can index, search, and query JSON documents stored in your database.\n\nFor more information about how to search and query JSON documents, see the [quick start](https://redis.io/docs/latest/develop/get-started/search-tutorial)."
    },
    {
      "id": "search-features",
      "title": "Search features",
      "role": "content",
      "text": "For full-text searches, you can customize the field queries and ranking of the search results.\nWhen querying, you can use multiple predicates that query text, numeric, and geospatial fields in one query.\nYou can also sort by a specific field and limit the results with an offset to produce customized results pages.\n\nRedis Open Source supports [over 15 natural languages](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/stemming) for stemming and includes auto-complete engines with specific commands that can provide real-time [interactive search suggestions](https://redis.io/docs/latest/commands/ft.sugadd)."
    },
    {
      "id": "redis-search-in-active-active-databases",
      "title": "Redis Search in Active-Active databases",
      "role": "content",
      "text": "As a result of the new RediSearch architecture and methodology, [RediSearch 2.x supports Active-Active databases](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/search-active-active).\nYou can now serve your index information from geo-distributed database instances."
    },
    {
      "id": "resharding-indexed-data",
      "title": "Resharding indexed data",
      "role": "content",
      "text": "By moving the index out of the keyspace and structuring the data as hashes, RediSearch 2.x makes it possible to reshard the database.\nWhen half of the data moves to the new shard, the index related to that data is created synchronously and Redis removes the keys from the index when it detects that the keys were deleted.\nBecause the index on the new shard is created synchronously though, it's expected that the resharding process will take longer than resharding of a database without Redis Search enabled."
    },
    {
      "id": "limitations",
      "title": "Limitations",
      "role": "limits",
      "text": "- You cannot use Redis Search capabilities with the [OSS Cluster API](https://redis.io/docs/latest/operate/rs/databases/configure/oss-cluster-api). This limitation was fixed in Redis Software version 8.0."
    },
    {
      "id": "more-info",
      "title": "More info",
      "role": "content",
      "text": "- [Getting Started with RediSearch 2.0](https://redis.com/blog/getting-started-with-redisearch-2-0/)\n- [Redis Search quick start](https://redis.io/docs/latest/develop/get-started/search-tutorial)\n- [Redis Search configuration](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/config)\n- [Redis Search commands](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/commands)\n- [Redis Search references](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts)\n- [RediSearch source](https://github.com/RediSearch/RediSearch)"
    }
  ],
  "examples": []
}
