---
schema_version: "1"
id: 8c76f9b97554d81690500456b24b8c8be58c96170c0dee8f72160645f0f8732f
title: Edit and Test the Solr Query
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/search_configure_query_solr_federated_search.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.search_configure_query_solr_federated_search.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e3a0d20a4da14a3f714ee96690eaadda1663d057b31f892b0b52370834000612
description: 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.
products:
  - Cross Cloud
release: "264"
---
# 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.

1. Add these parameters to the Solr query: `wt=xslt` and `tr=_file_name_.xsl`, where _file\_name_ is the name of your Atom XSL file. For example, `tr=acme.xsl`.
2. Use this URL to test your query: http://localhost:8983/solr/techproducts/select?q=sd500&wt=xslt&tr=example\_atom.xsl. In this test, the core name is _techproducts_ and the search term is _sd500_.

![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

Here’s an example of a response formatted in Atom XML.

```
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Example Solr Atom 1.0 Feed</title>
   <subtitle>
     This has been formatted by the sample "example_atom.xsl" transform - use your own XSLT to get a nicer Atom feed.
   </subtitle>
   <author>
     <name>Apache Solr</name>
     <email>solr-user@lucene.apache.org</email>
   </author>
   <link rel="self" type="application/atom+xml" href="http://localhost:8983/solr/q=sd500&wt=xslt&tr=atom.xsl"/>
   <updated/>
   <id>tag:localhost,2007:example</id>
   <entry>
     <title>Canon PowerShot SD500</title>
     <link href="http://localhost:8983/solr/select?q=9885A004"/>
     <id>tag:localhost,2007:9885A004</id>
     <summary>
       3x zoop, 7.1 megapixel Digital ELPHmovie clips up to 640x480 @30 fps2.0" TFT LCD, 118,000 pixelsbuilt in flash, red-eye reduction
     </summary>
   <updated/>
   </entry>
</feed>
```