After you perform a search test, Merchandising displays any facets that apply to the search results at the bottom of the search test inputs. This allows you to verify which facets are applied, if any, and the selections that appear in each facet. You can choose a facet selection and click Search to see the impact on search results and display any nested child facets.

If you select the facet details output, you can also see the names of the source facets, the complete list of facets and their selections, and, if you did not select a category in the test inputs, how the search engine determined which category to use when applying facets. For more information, see Facet Details.

Testing Deployed Facets

You test deployed facets to troubleshoot how facets and facet selections appear on a commerce site.

Note: If you recently deployed changes to facets, the search index must be updated before you can test the newly deployed changes. For more information, see the Working with Indexes chapter in the ATG Search Administration Guide.

To test deployed facets:

  1. Create a search test or edit an existing test. See Creating a Search Test.

  2. Specify the search criteria you want to test and click Search. For instructions, see Specifying the Search Criteria to Test.

  3. Locate the facets that appear at the bottom of the search test inputs.

  4. Click a facet value or range and click Search.

  5. To apply another facet selection, repeat step 4.

  6. To clear a facet selection, clear the check box next to the selected facet and click Search.

  7. (Optional) To save the test, including your facet selections, click Save. The next time you open and run the test, your facet selections are applied automatically.

Testing Undeployed Facets

If you are adding or editing facets in your project, you can test how those facets will appear without having to deploy the project. The search test accomplishes this by sending a temporary facet set to the search engine, where they are then applied to the search results.

Facets can be specific to a category, so the search test must know which category to use when sending undeployed facets to the search engine. There are two ways to specify the appropriate category:

If you choose the second option, you run the search test once to generate a preliminary results list that Merchandising uses to select the most specific category that contains all of the results. You then click a link in the facet details output to run the search again and apply the undeployed facet changes from your project.

To test undeployed facets:

  1. Create a search test or open an existing test in the project where you created the undeployed facets. See Creating a Search Test.

  2. When you create your search test, select the Test undeployed search configurations and facets from the current project checkbox. This option appears only if you are working in a project.

  3. Select the search criteria you want to test. See Specifying the Search Criteria to Test.

  4. If your search test includes a category, click Search.

    The search test uses this category to determine which facets – deployed and undeployed – to apply.

  5. If you did not select a category in the Category field, do the following:

    • Select the Facet Details output type.

    • Click Search to run the test once.

      The search engine generates the list of search results, calculates the most specific common category for the items in the results, and applies the deployed facet set for that category. The deployed facets appear at the bottom of the search test inputs. They do not include the undeployed changes from your project.

    • In the test output, locate the Facets section and click View with facet changes from current project. This runs the search test again and applies your facet changes based on the category determined from the search results.

  6. To test facet selections, locate the facets that appear at the bottom of the search test inputs, click a facet value or range, and then click Search.

    The test results are updated to reflect your facet selection. If the facet has child facets, the nested facet selections appear.

  7. To apply another facet selection, repeat step 6.

  8. To clear a facet selection, clear the box next to the facet value and click Search.

  9. (Optional) To save the test, including your facet selections, click Save. The next time you open and run the test, your facet selections are applied automatically.