← All questions
Security & SafetyVery Hard· Access Control· Retrieval· Recall Optimization

Legal requires that answers cite only documents the use...

The core of this issue is the tension between security compliance and retrieval performance. Hard filters are often necessary for security, but they can lead to silent document deletion if applied to sparse metadata. To adjudicate, you should concede the search team’s point that over-filtering is a legitimate recall bug. However, you must distinguish between security-critical clauses and preference-based clauses. Security constraints should remain as hard filters to ensure compliance, while preference-based filters can be moved into the scoring function to improve recall without compromising security.

Code playground (Python)