Question 370
A pgvector HNSW query returns too few close neighbors after index construction. Which observation BEST confirms the intended behavior after the change?
Explanation
Correct Answer
HNSW search breadth influences accuracy and latency without changing embedding values. The observed result “The validation set shows improved recall at the chosen performance budget” would confirm the change “Tune supported HNSW search parameters such as ef_search and measure recall” in this situation: A pgvector HNSW query returns too few close neighbors after index construction.
Incorrect Answers
Bound SQL parameters separate untrusted inputs from executable query syntax. The situation here is: A pgvector HNSW query returns too few close neighbors after index construction. A test of this alternative would miss the specific outcome “The validation set shows improved recall at the chosen performance budget”.
Statement timeouts constrain runaway SQL execution and preserve capacity for other queries. The situation here is: A pgvector HNSW query returns too few close neighbors after index construction. A test of this alternative would miss the specific outcome “The validation set shows improved recall at the chosen performance budget”.
Relational keys and indexes support targeted maintenance independently of the vector index. The situation here is: A pgvector HNSW query returns too few close neighbors after index construction. A test of this alternative would miss the specific outcome “The validation set shows improved recall at the chosen performance budget”.