POST /search/autocomplete
Perform a synchronous autocomplete search query against a SearchIndex.
This endpoint is purpose-built for type-ahead input: it overrides any supplied
queryType with PREFIX (see
SearchQueryType
for the full description) and caps limit at 8 to keep responses small
and latency low. Caller-supplied facetRequests and
highlight are ignored — autocomplete returns matching hits only.
For anything that needs scored relevance, faceting, or result counts, use the async POST /search/query/async/start endpoint instead.
Resource URL
https://repo-prod.prod.sagebase.org/repo/v1/search/autocomplete
| Resource Information | |
|---|---|
| Authentication | Required |
| Required OAuth Scopes | view |
| HTTP Method | POST |
| Request Object | SearchIndexQuery (application/json) |
| Response Object | SearchQueryResults (application/json) |