redis / redis/RedisInsight

[Bug]: Redis Insight does not display WITHSUFFIXTRIE for Redis Search text fields

Open
#6,087 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
8.8k
Forks
491
Avg merge
1d 22h
Merged PRs (30d)
49

Description

Preconditions (Any important steps we need to know)

  • Docker Redis Insight is started as a fresh instance.
  • The target Redis database has Redis Search enabled.
  • The Redis database is Redis 8.
  • An index exists with a TEXT field using WITHSUFFIXTRIE.

Example schema:

FT.CREATE idx:trie ON JSON PREFIX 1 redis_search:FilingChunk: SCHEMA $.chunkText AS chunkText TEXT $.id AS id TAG SEPARATOR , $.chunkText AS chunkText_trie TEXT WITHSUFFIXTRIE

Steps to reproduce (How to reproduce what you found step by step)

  1. Start Docker Redis Insight.
  2. Connect Redis Insight to a Redis 8 database with Redis Search enabled.
  3. Create the index above.
  4. Run: FT.INFO idx:trie
  5. Open Redis Insight Workbench.
  6. Run the same FT.INFO idx:trie command.
  7. Open the Search page.
  8. Open the index details view for idx:trie.

Actual behavior (A short description of what you found)

Redis Search returns WITHSUFFIXTRIE for the chunkText_trie field via the CLI.

identifier
$.chunkText
attribute
chunkText_trie
type
TEXT
WEIGHT
1
WITHSUFFIXTRIE

Redis Insight does not display that value correctly.

In Workbench, the formatted FT.INFO result includes a WITHSUFFIXTRIE column, but the chunkText_trie row is empty.

In the Search index details view, the schema table shows the chunkText_trie field, but does not show WITHSUFFIXTRIE.

Expected behavior (A short description of what you expected to find)

Redis Insight should display WITHSUFFIXTRIE for text fields that have it enabled.

The Workbench formatted FT.INFO output should show WITHSUFFIXTRIE on the correct row.

The Search index details view should expose the same field option.

Screenshots (Paste or drag-and-drop a screenshot or a link to a recording)

Image Image

Additional context (Operating system, version of Redis Insight, Redis database version, Redis module version, database type, connection type, logs, or any other information)

Host OS: macOS 15.7.4

Redis Insight distribution: Docker version

Redis Insight version: 3.6.0

Redis Insight build type: Docker on premise

Redis Insight image: redis/redisinsight:latest

Image SHA: sha256:aa21bbd198455b4ad964f76782db951155aa0d712321f599972d1525f031f0e6

  • Redis database version: 8.8.0
  • Database type: Standalone
  • Connection type: Standalone
  • Redis Search module version: 80800
  • Redis Search itself appears to work correctly. Contains and suffix wildcard queries work on the WITHSUFFIXTRIE field and fail on the normal text field as expected.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the FT.INFO output in Workbench and inspect the Search index details view for the chunkText_trie field, then trace how the WITHSUFFIXTRIE value is parsed and rendered. Done means both views display WITHSUFFIXTRIE on the correct field row for indexes created with that option.

Written by the indexing model from the issue text.

Assessment

Tech stack
redis, typescript
Domain
database, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.