Atlas Knowledge Base
Dashboard
Search

Search


Installation search in APIEngine v96 and later runs through SBN-Search, a PostgreSQL-backed search service. APIEngine passes each search to SBN-Search with the caller's user, and SBN-Search limits the results to the dealers that user may see. Setting it up is covered on SBN-Search.

Search routes

APIEngine versionRouteBacked by
v96 and laterPOST /api/v1/sbnsearch/installationSBN-Search
v96 and laterGET /api/v1/sbnsearch/statusSBN-Search connection status
All versions/api/v1/search/... (for example POST /api/v1/search/sbn/installation)Elasticsearch

All routes need a signed-in user token. When Search is turned off on the Settings page, or has no endpoint, /api/v1/sbnsearch/installation returns 503 and runs no search.

Elasticsearch routes

The /api/v1/search/... routes are the earlier installation search, kept for installs that still run an Elasticsearch cluster. The SBN Elasticsearch indexing Windows service that kept that index current has been retired, so new installs use SBN-Search. The Elasticsearch routes read these SBN options:

OptionPurpose
es_srchTurns the Elasticsearch routes on. When off, every route returns "Review APIEngine Logs."
es_urlElasticsearch base URL
es_key1Elasticsearch API key
es_ind1Installation index name

After changing an option, reload options in APIEngine (the diagnostic reloads them).



Was this helpful?