Question 530
A multi-tenant search app retrieves the top five passages globally, then removes documents belonging to other tenants. Many relevant authorized passages are excluded because other tenants dominated the initial top five. What search-query change fixes this?
Explanation
Correct Answer
Pre-filtering retrieval to authorized documents allows ranking and top-k selection to operate over the correct tenant corpus.
Incorrect Answers
Generation length cannot repair the search candidate set or the order in which authorization filters were applied.
Filtering only after global top-k selection leaves too few authorized candidates; a model cannot recover missing evidence reliably.
Removing access controls violates tenant confidentiality and is not an acceptable recall optimization.