Skip to content

feat(vectorset): add VISMEMBER & WITHATTRIBS#3753

Open
romanpovol wants to merge 7 commits intoredis:masterfrom
romanpovol:feature/missing_vset_features
Open

feat(vectorset): add VISMEMBER & WITHATTRIBS#3753
romanpovol wants to merge 7 commits intoredis:masterfrom
romanpovol:feature/missing_vset_features

Conversation

@romanpovol
Copy link
Copy Markdown

@romanpovol romanpovol commented Mar 25, 2026


Note

Medium Risk
Adds new vector set commands and introduces new RESP2/RESP3 reply parsing paths for VSIM results with attributes, which could mis-parse responses or change expectations across Redis versions.

Overview
Adds VISMEMBER support to the vector set API (VIsMember) and expands VSIM with Redis 8.2+ WITHATTRIBS variants, including new result types (VectorAttrib, VectorScoreAttrib) and command wrappers.

Implements new command reply parsers in command.go to handle both RESP2 arrays and RESP3 maps for WITHATTRIBS (including nil attributes), fixes VSimArgs to emit the lowercase epsilon argument, and updates unit/integration tests plus the vectorset doctest to cover the new functionality.

Written by Cursor Bugbot for commit 57fff35. This will update automatically on new commits. Configure here.

@jit-ci
Copy link
Copy Markdown

jit-ci bot commented Mar 25, 2026

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

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.

missing Vector Sets features (WITHATTRIBS, VISMEMBER)

1 participant