According to the AgentForce Search Optimization Guide, when the use case requires retrieving exact matches (such as policy clause numbers, legal identifiers, or invoice IDs) from structured data, the recommended approach is to use keyword search. The documentation specifies: “Keyword search ensures deterministic retrieval of exact term matches from structured fields, preserving precision for identifiers, numeric values, and code references.”
Semantic search (Option C) uses contextual understanding and synonym expansion, which may yield near matches but not exact ones. Hybrid search (Option B) combines both semantic and keyword results for general knowledge retrieval, but it introduces probabilistic ranking—not suitable for exact legal or compliance queries.
Therefore, for the compliance use case where exact clause number matching is required, keyword search guarantees accuracy, speed, and compliance integrity.
References (AgentForce Documents / Study Guide):
AgentForce Search and Retrieval Guide: “Choosing Between Keyword, Semantic, and Hybrid Search”
AgentForce Compliance and Legal Data Search Best Practices
AgentForce Study Guide: “Optimizing Structured Data Search for Exact Matches”