What your competitors are learning at NVIDIA GTC

Learn more
Redis
14 minute read

Redis Search

Redis Query Engine 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.

Download this report

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
Optimize your cache for fast, fresh & in-sync data
Guide
Optimize your cache for fast, fresh & in-sync dataRead
Build faster AI apps in 5 steps
Whitepaper
Build faster AI apps in 5 stepsRead
Redis for AI on AWS
Ebook
Redis for AI on AWS: The real-time context engine for accurate, scalable AI appsRead
Your team isn't slow. Your data is just fragmented.
Datasheet14 min read
Your stack is slowing innovation. Here’s how to fix it.Read

Get started

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