Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Testing the Search Server

Testing the Search Server

To determine if the searchserver web application is running, enter the following URL in your browser:

http://<host>:<port>/<path_to_searchserver>/product/select?q=*:*

If it is running, it will return an XML document similar to the following:

<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">62</int>
<lst name="params">
<str name="q">\*.\*</str>
</lst>
</lst>
<result name="response" numFound="0" start="0"/commerce-legacy/>
</response>

If the product index is populated, numFound attribute in the result element will contain a number greater than zero. For example, if the Snap It Up demo store is correctly set up, this number will be over 3000.

To test if other indexes are populated, replace product in the URL with one of the following:

  • category
  • customer
  • order
  • orderreturn
  • promotion