Federated Search Developer Guide
This API follows the OpenSearch specification with optional Salesforce extensions. The external providers must conform to this API and remain fully compliant to the OpenSearch specification. As long as the external providers are compliant, any OpenSearch clients can query them at the same URL endpoint.
The federated search connector sends an HTTPS GET request to the external search provider URL endpoint. The search request is encoded in UTF-8. The request includes the OAuth token in the request header bearer token in the authorization request header.
This request also sets the values of the URL template parameters, as defined by the OpenSearchDescription. The values include the search terms and the user identity. Other parameters can be part of the URL. The values also set the Salesforce ID, login, and email address of the user who issued the search query.
The external search provider is expected to respond within less than 1 second, up to a maximum of 120 seconds. After the time period expires, a timeout message is displayed. The admin can change the maximum delay when configuring the external data source.
The external search provider returns results in Atom or RSS format encoded in UTF-8, as defined by the OpenSearch and Atom and RSS specifications.
More External Resources
- Set Up and Manage Federated Search Salesforce Help website
- OpenSearch website
- Atom specification website
- RSS 2.0 specification website
- Bearer Token specification for the authorization request header field website
- E.123: Notation for national and international telephone numbers, email addresses, and web addresses website