An engineer is tuning a pgvector HNSW index in Aurora PostgreSQL to improve recall and can accept additional processing time. Which parameter changes support this goal? (Choose two.)
Choose 2 answers
Show the answer
Correct answersA. Increase ef_search to examine more search candidates.B. Increase ef_construction to consider more candidates during construction.
AWhy this is right: A larger search candidate set can improve recall but requires more query processing.
BWhy this is right: Considering more construction candidates can improve graph quality but slows index construction.
CWhy not this: A smaller search candidate set favors speed and can reduce recall.
DWhy not this: Considering fewer construction candidates favors build speed rather than better graph quality.
EWhy not this: Probes controls how many IVFFlat lists are searched; it does not tune an HNSW graph.
FWhy not this: Lists controls IVFFlat clustering; it does not tune an HNSW graph.
Increasing ef_search can improve recall at the cost of query speed. Increasing ef_construction can improve graph quality and recall at the cost of index construction time; probes and lists tune IVFFlat, not HNSW.