Skip to content

DOC-7181: Add an interactive demo for Redis Search indexing - #4264

Merged
paoloredis merged 1 commit into
mainfrom
DOC-7181
Oct 15, 2026
Merged

paoloredis merged 1 commit into
mainfrom
DOC-7181

Conversation

@paoloredis

@paoloredis paoloredis commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

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-demo Hugo shortcode.

The widget is a five-step, browser-only walkthrough (restaurant sample data → field types and DIALECT, PREFIX/FILTER, missing/invalid values with INDEXMISSING/INDEXEMPTY/FT.INFO, hash vs JSON). Controls swap among pre-recorded Redis 8.10 FT.CREATE/FT.SEARCH transcripts so users see annotated commands, highlighted matches, and exact redis-cli output without a live server.

New assets: search-demo.css (shared Redis Search demo UI on top of context-retriever-demo.css), search-index-demo.css, and search-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.

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>
@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

DOC-7181

@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.

@github-actions

Copy link
Copy Markdown
Contributor

🧠 Redis Memory

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

Memory updated at 960af36

@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.

Very nice, @paoloredis! Approved.

@paoloredis

Copy link
Copy Markdown
Collaborator Author

Thank you @dwdougherty

@paoloredis
paoloredis merged commit cd11a68 into main Oct 15, 2026
101 of 102 checks passed
@paoloredis
paoloredis deleted the DOC-7181 branch October 15, 2026 08:36
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