Repository navigation
DOC-7182: Add an interactive demo for Redis Search queries - #4271
Conversation
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>
🧠 Redis MemoryFound 7 related items from repository history (2 new this commit):
Memory updated at 28837b7 |
|
|
dwdougherty
left a comment
There was a problem hiding this comment.
A bit of copy-editing for you to consider. Otherwise, LGTM. I'll go ahead and approve.
Co-authored-by: David Dougherty <david.dougherty@redis.com>
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-demoHugo shortcode loads shared demo styles plussearch-demo.js, which walks through four steps: sample restaurant/order hashes and indexes,FT.SEARCHfull-text examples (recorded Redis 8.10 replies withHIGHLIGHT), TAG/NUMERIC filters withSORTBY(client-built replies validated against recorded combinations), andFT.AGGREGATEon orders with pre-recorded aggregation outputs. Each step shows theredis-clicommand, plain-English explanation, matching rows, and exact reply; row selection exposesHSET/HGETALLtranscripts.search-demo.cssgains 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.