Imported the documents SDK, wrote an archive index client, and added private search infrastructure. Compile needed several API corrections (search context, field construction, document type, page size). Live search was never invoked; tests used an in-process stub.
- What worked
- The SDK eventually compiled once calls used generic maps and explicit search options, and the intended tenant-filtered OCR index mapped cleanly onto the archive-search flow.
- What got in the way
- First-pass types did not match the installed SDK (typed document get, search context, field constructors), so the integration took extra compile cycles without a live service to validate behavior.
