97% believe in it. 4% have built it. New research: State of context engineering.

Read the report
Platform
Deploy
Solutions
Devs
Resources
Partners
Redis
14 minute read

Redis Search

R extends Redis beyond simple key‑value lookups to deliver a powerful built-in query language for real‑time searches, indexing, and aggregations.

Read the eBook to learn how instantly indexing in Redis can eliminate bottlenecks and simplify architecture.

Query

Queries (i.e., data queries) are the primary way to retrieve Redis data by matching to tags or attributes. Redis Query Engine supports concurrent, low-latency insertion and updates of documents.

Key query capabilities for Redis Query Engine include multi-field queries, query on JSON documents, boolean queries with AND, OR, and NOT operators between subqueries, optional query clauses, numeric filters and ranges, and geo-filtering using Redis geo commands.

2 query commands are available: FT.SEARCH and FT.AGGREGATE.

  1. FT.SEARCH to perform selections (i.e., return all documents that fulfill specific criteria) and projections (i.e., return specific fields of the result set or map to calculated field values) only. Learn more about exact match queries, range queries, geospatial queries, combined queries.
  2. Use FT.AGGREGATE command to apply mapping functions, group, or aggregate data to collect and summarize data across several fields. Learn more about aggregation queries.

Running a query on the ‘index:product’ index to return a list of all those that have the value ‘redis’ in the ‘brand’ field is very simple:

Next chapter: Search

More Redis guides

The state of context engineering
Report14 min read
The state of context engineeringRead
The roadmap to scalable, real-time AI in financial services
Ebook
The roadmap to scalable, real-time AI in financial servicesRead
In 5 Schritten zur KI-App
Whitepaper
Build faster AI apps in 5 stepsRead
The context engineering maturity model
Ebook30 min read
The context engineering maturity modelRead

Get started

Speak to a Redis expert and learn more about enterprise-grade Redis today.