A support assistant uses hybrid retrieval against an Azure AI Search index. Each chunk has a title field containing a heading and a body field containing the supporting text. Both fields are searchable and retrievable.
For the keyword component, match query terms against title alone. Return body as the only document field for grounding. The vector-query settings are already configured.
Which request settings meet both requirements? Each option shows an excerpt of the search request.
Searching a field and returning a field are separate controls. Set searchFields to title for keyword matching and select to body for the grounding payload.
- Not correct:
{"searchFields":"title","select":"title"}. Searching title meets the keyword-field requirement, but selecting title returns the heading instead of the supporting body text. - Correct:
{"searchFields":"title","select":"body"}. searchFields limits keyword matching to title, and select returns body as the document field used for grounding. - Not correct:
{"searchFields":"body","select":"title"}. These settings search body and return title. Neither parameter is assigned the field required for its purpose. - Not correct:
{"searchFields":"body","select":"body"}. Selecting body provides the requested grounding field, but searchFields directs keyword matching to body rather than title.