Question 960
A Redis vector search retrieves semantically similar records from disallowed catalog categories. Which lasting release or operating safeguard most directly reduces recurrence of this specific problem?
Explanation
Correct Answer
This safeguard targets recurrence after the fix: Sanitize and authorize allowed filter values before composing search requests. It controls the exact risk in A Redis vector search retrieves semantically similar records from disallowed catalog categories. The targeted engineering repair remains Combine nearest-neighbor lookup with indexed TAG or metadata filters in the supported query syntax.
Incorrect Answers
Unindexed vector values are not automatically queryable through the intended KNN index. This is a separate requirement; the current case instead hinges on: This safeguard targets recurrence after the fix: Sanitize and authorize allowed filter values before composing search requests. The matching answer is: Sanitize and authorize allowed filter values before composing search requests.
The alternative addresses: A mismatched distance metric can change semantic neighbor ordering. The reported constraint here is different: This safeguard targets recurrence after the fix: Sanitize and authorize allowed filter values before composing search requests. The case-specific choice is: Sanitize and authorize allowed filter values before composing search requests.
Oversized result sets and vector scoring inflate query workload. By contrast, the relevant technical condition here is: This safeguard targets recurrence after the fix: Sanitize and authorize allowed filter values before composing search requests. The appropriate selection is: Sanitize and authorize allowed filter values before composing search requests.