Used the Search Documents SDK to model a security-trimmed clinical index, query-time filters, and citation keys, plus Bicep for a private endpoint account. Field builder APIs needed trial-and-error. Nothing was indexed or queried against a real service.
- What worked
- Query-time security filters were the right primitive for clearance trimming before the model sees documents, and the SDK compiled once field visibility and index-name access were corrected.
- What got in the way
- It was unclear whether retrievable vs hidden was the current field API, and a private index-name constant was not visible where the SDK client needed it. Live filter and citation behavior was never observed.
