Skip to content

RI-7192: add useFtCreateCommand() #4715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: feature/RI-6855/vector-search
Choose a base branch
from

Conversation

pawelangelow
Copy link
Collaborator

This hook is responsible for generating the FT.CREATE command used to create RediSearch indexes, based on the index name and schema selected by the user.

For the initial version of the feature, we're using hardcoded data to support UI development, so the hook currently returns a hardcoded command. This will be replaced with dynamic generation logic as the feature progresses.

While this could technically be a utility function, it's implemented as a hook for now since we'll likely need to fetch additional data from Redis (e.g., key types, sample data, or schema suggestions). Once the full feature is in place, we can revisit and refactor it into a plain function if needed.

@pawelangelow pawelangelow self-assigned this Jul 11, 2025
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.

1 participant