Repository navigation
DOC-7181: Add an interactive demo for Redis Search indexing - #4264
Conversation
A scripted, browser-only demo on the indexing section's new interactive-demo page. It starts with the restaurant data, then walks through field types, which keys an index covers (PREFIX and FILTER), missing and invalid values (INDEXMISSING, INDEXEMPTY, and FT.INFO), and hashes compared with JSON. Each step shows its FT.CREATE part by part, the query, the data with the matches highlighted, and the exact reply. Every reply was recorded from Redis 8.10, each case starting from an empty database. search-demo.css holds the Redis Search demo styles this demo builds on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
🧠 Redis MemoryFound 5 related items from repository history (5 new this commit):
Memory updated at 960af36 |
dwdougherty
left a comment
There was a problem hiding this comment.
Very nice, @paoloredis! Approved.
|
Thank you @dwdougherty |
A scripted, browser-only demo on the indexing section's new interactive-demo page. It starts with the restaurant data, then walks through field types, which keys an index covers (PREFIX and FILTER), missing and invalid values (INDEXMISSING, INDEXEMPTY, and FT.INFO), and hashes compared with JSON. Each step shows its FT.CREATE part by part, the query, the data with the matches highlighted, and the exact reply.
Every reply was recorded from Redis 8.10, each case starting from an empty database. search-demo.css holds the Redis Search demo styles this demo builds on.
Note
Low Risk
Documentation and static front-end only; no API, auth, or runtime Redis integration.
Overview
Adds an Indexing interactive demo page under the Redis Search indexing docs, embedded via a new
search-index-demoHugo shortcode.The widget is a five-step, browser-only walkthrough (restaurant sample data → field types and
DIALECT,PREFIX/FILTER, missing/invalid values withINDEXMISSING/INDEXEMPTY/FT.INFO, hash vs JSON). Controls swap among pre-recorded Redis 8.10FT.CREATE/FT.SEARCHtranscripts so users see annotated commands, highlighted matches, and exactredis-clioutput without a live server.New assets:
search-demo.css(shared Redis Search demo UI on top ofcontext-retriever-demo.css),search-index-demo.css, andsearch-index-demo.js(large fixture tables). The shortcode loads those with MD5 cache-busting and guards double-init if the shortcode appears twice.Reviewed by Cursor Bugbot for commit 960af36. Bugbot is set up for automated code reviews on this repo. Configure here.