Configure a Solr Server to Support OpenSearch

To show external search results in Salesforce, set up a Solr server. Configure the Solr server to support OpenSearch and Atom XML format. The OpenSearch standard is the basis for Salesforce Federated Search, which displays external search results in Salesforce. After you configure the Solr server, define the external data source providing search results.

  • Create the Atom XSL File
    To transform the Solr default search results from JSON to XML Atom, you create an XSL file. Solr provides example files that you can customize for your server.
  • Edit and Test the Solr Query
    Add parameters that reference the Atom XSL file to the Solr query. Then test your changes to make sure that results are appearing in XML Atom format.
  • Publish the OpenSearch Description
    To transform the Solr default search results from JSON to XML Atom, create and publish an OpenSearch description file. This XML file defines the search query URL and supported parameters.