Skip to content

DOC-7182: Add an interactive demo for Redis Search queries - #4271

Merged
paoloredis merged 2 commits into
mainfrom
DOC-7182
Oct 16, 2026
Merged

paoloredis merged 2 commits into
mainfrom
DOC-7182

Conversation

@paoloredis

@paoloredis paoloredis commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

A scripted, browser-only demo on the querying section's new interactive-demo page, built like the indexing demo. It starts with the restaurants and their index, then walks through full-text search, filters with sorting, and FT.AGGREGATE over orders. Each step shows its query with a plain-English reading, the data with the matches highlighted and ranked, and the exact reply.

The full-text and aggregation replies were recorded from Redis 8.10. The filter replies are built in the browser and checked against all 288 recorded combinations. The demo uses the indexing demo's search-index-demo.css, and adds a few rules to search-demo.css scoped to this demo.


Note

Low Risk
Documentation and static front-end assets only; no server, auth, or production runtime changes.

Overview
Adds a browser-only interactive demo for Redis Search querying on a new Query interactive demo doc page, following the same pattern as the indexing demo.

A new search-demo Hugo shortcode loads shared demo styles plus search-demo.js, which walks through four steps: sample restaurant/order hashes and indexes, FT.SEARCH full-text examples (recorded Redis 8.10 replies with HIGHLIGHT), TAG/NUMERIC filters with SORTBY (client-built replies validated against recorded combinations), and FT.AGGREGATE on orders with pre-recorded aggregation outputs. Each step shows the redis-cli command, plain-English explanation, matching rows, and exact reply; row selection exposes HSET / HGETALL transcripts.

search-demo.css gains scoped rules for aggregation group bars and responsive index table headers under [data-search].

Reviewed by Cursor Bugbot for commit 28837b7. Bugbot is set up for automated code reviews on this repo. Configure here.

A scripted, browser-only demo on the querying section's new
interactive-demo page, built like the indexing demo. It starts with the
restaurants and their index, then walks through full-text search,
filters with sorting, and FT.AGGREGATE over orders. Each step shows its
query with a plain-English reading, the data with the matches
highlighted and ranked, and the exact reply.

The full-text and aggregation replies were recorded from Redis 8.10. The
filter replies are built in the browser and checked against all 288
recorded combinations. The demo uses the indexing demo's
search-index-demo.css, and adds a few rules to search-demo.css scoped to
this demo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

DOC-7182

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Redis Memory

Found 7 related items from repository history (2 new this commit):

Memory updated at 28837b7

@github-actions

Copy link
Copy Markdown
Contributor

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dwdougherty dwdougherty left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit of copy-editing for you to consider. Otherwise, LGTM. I'll go ahead and approve.

Comment thread content/develop/ai/search-and-query/query/interactive-demo.md Outdated
Comment thread content/develop/ai/search-and-query/query/interactive-demo.md
Co-authored-by: David Dougherty <david.dougherty@redis.com>
@paoloredis
paoloredis merged commit c059286 into main Oct 16, 2026
100 of 101 checks passed
@paoloredis
paoloredis deleted the DOC-7182 branch October 16, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants