After you create the search test, specify the search criteria you want to include. All test inputs are optional and can be used alone or in combination to test various searches. To return a list of results, however, be sure to include at least a search term or a category. Otherwise the result set will be empty. For suggestions on how to set up your test, see Guidelines for Search Tests.

Before you begin, create a search test or open a saved test. For instructions, see Creating a Search Test or Editing a Saved Search Test.

To specify the test search criteria:

  1. (Optional) In the details pane of a search test, use one of the following options to select a search configuration in the Search Configuration field:

    • To test a specific search configuration, click Select Directly and choose a search configuration from the dialog.

    • To test whether a search configuration is applied for given dimension values, and if so, which one, click Select by Dimension. In the dialog that appears, select the dimension values you want to test.

    • To test how a search configuration is applied based on a sample user profile, click Select by Dimension and choose a preview profile. The search engine applies the search configuration to the preview profile as it would to a real user profile with the same dimension values.

      Note: This option only appears if an administrator has set up asset preview. See the Setting up Preview chapter in the ATG Business Control Center Administration and Development Guide.

  2. If your site does not allow you to search for text within a category, select either Search Text or Category, and follow the instructions in step 3 or step 4, depending on your selection.

    Otherwise, follow steps 3 and 4 to enter search text or a category, or both.

    Note: If you leave both the search text and the category blank, you will not receive any search results.

  3. (Optional) To test the results of query text typed by a user, type the text in the Search Text field.

    If your site supports multiple languages, select a language from the Search Text Language list. This selection tells the search engine which language the search text is written in. It is not the same as the language dimension value used in search configurations. For more information, see Languages in Search Tests.

    Caution: If you choose a search configuration in step 1 that uses a different language than the one you select in the Search Text Language list, any rules in the search configuration that are based on search text are not applied because the languages don’t match. Only result prioritization and rules that apply to all queries are applied.

  4. (Optional) To narrow the search to a category, click Select next to the Category field and choose a category from the dialog.

    Note: The Category selection can affect which facet set is applied to the search results. For more information, see Testing Facets.

  5. (Optional) To see how the search criteria are applied to specific catalog items, click Select next to the Track Items field and choose the items you want to track.

    If you know the ID of the item you want to track, type it in the Track Items field, and use a comma to separate multiple items, as shown in the following figure. If items are indexed by product, enter a product ID, and if items are indexed by SKU, enter the SKU ID—even if the SKUs are grouped by product.

    The search test ignores any extra spaces between the item IDs, either before or after the comma, but does not allow extra spaces within an item ID.

  6. (Optional) To test how the search results would appear when sorted, select an option from the Sort By list.

    The options available to you depend on the behavior of your site. If your site allows users to sort by price, for example, you can select that option to see how it impacts the search results. By default, the results list is sorted by relevance score.

  7. Specify the information that you want to see in the test results. See Specifying the Test Output.

  8. Click Search to run the test.

 
loading table of contents...