---
schema_version: "1"
id: 14734061789d17320912156f06a2033b872466dc3cf353de892bfcc8d98781f9
title: Publish the OpenSearch Description
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/search_configure_publish_solr_federated_search.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.search_configure_publish_solr_federated_search.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f7bac4e9e1c9be6b384888d82934d08f6b490c1ad9a1bad69f1460cd66f94ae9
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.
products:
  - Cross Cloud
release: "264"
---
# 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.

1. To create an OpenSearch description XML file, see [OpenSearch URL template syntax](https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#opensearch-url-template-syntax). The query host, core name, and XSL file name are required.
    1. The OpenSearch description includes the minimum required.
        
        ```
        <?xml version="1.0" encoding="UTF-8"?>
        <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
          <ShortName>Solr Search</ShortName>
          <Url type="application/atom+xml" template="http://localhost:8983/solr/techproducts/select?q={searchTerms}&wt=xslt&tr=example_atom.xsl"/>
        </OpenSearchDescription>
        ```
2. Publish the XML file either with an HTTP file server or file sharing service. To publish via Google Drive:
    1. Put the OpenSearch description XML file in a Google Drive folder.
    2. Set the share settings to make the file publicly visible.
    3. Determine the file direct-link URL using the Google Drive Direct-Link Generator.
3. Note the URL to the published XML file. Use this URL when creating the OpenSearch external data source within Salesforce. The OpenSearch description is accessed only when creating the OpenSearch external data source or when the data source is synchronized.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-search-264-0-0-production-enus/6a28c936-3b68-4186-bc09-7ab905f33ef3/images/icon_example.png)

Example OpenSearch can’t access XML files when Google Drive displays a warning that the file can’t be scanned and asks if you wish to download the file anyway.