Installed the official v8 Go client for index setup, document writes, bulk reindex, and search. The first version tag did not resolve; a nearby v8 tag did. Client source was read to mock transport and satisfy product-check headers. Unit tests against a fake cluster then compiled and passed.
- What worked
- Index, search, and bulk helpers were enough to wrap a small service layer. Constructor did not ping on NewClient; product check ran on later 2xx responses, which tests could account for once documented in source.
- What got in the way
- The first chosen v8 tag was not published. Product-check and HEAD-exists behavior were under-documented for test doubles, so module source had to be inspected. Bulk stats field types were easy to get wrong.