Skip to content

Python: register Redis search indexes with a single prefix entry#14126

Open
Whning0513 wants to merge 1 commit into
microsoft:mainfrom
Whning0513:fix-redis-ft-create-prefix-13894-clean
Open

Python: register Redis search indexes with a single prefix entry#14126
Whning0513 wants to merge 1 commit into
microsoft:mainfrom
Whning0513:fix-redis-ft-create-prefix-13894-clean

Conversation

@Whning0513

Copy link
Copy Markdown

Summary

  • pass a single-element prefix list into IndexDefinition when creating Redis search indexes
  • add a unit regression test that asserts FT.CREATE PREFIX 1 <collection>: semantics

Testing

  • python -m pytest -q tests/unit/connectors/memory/test_redis_store.py -k create_index_uses_single_prefix_entry
  • python -m pytest -q tests/unit/connectors/memory/test_redis_store.py -k "create_index or delete"

Fixes #13894

@Whning0513 Whning0513 requested a review from a team as a code owner June 30, 2026 13:05
@moonbox3 moonbox3 added the python Pull requests for the Python Semantic Kernel label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: Bug: Redis connector sends malformed FT.CREATE PREFIX (one prefix per character of collection name)

2 participants