Link Search Menu Expand Document Documentation Menu

Comparing search results

This is an experimental feature and is not recommended for use in a production environment. For updates on the progress of the feature or if you want to leave feedback, see the associated GitHub issue.

Comparing search results, also called a pairwise experiment, in OpenSearch Dashboards allows you to compare results of multiple search configurations. Using this tool helps assess how results change when applying different search configurations to queries.

For example, you can see how results change when you apply one of the following query changes:

  • Weighting fields differently
  • Different stemming or lemmatization strategies
  • Shingling

Comparing search results of a single query

The UI for comparing the search results of a single query lets you define two different search configurations for an individual query in order to view and compare the results side by side. Specifically, you can determine how many shared and unique documents are contained in the result lists and how their positions changed, as shown in the following image.

Compare search results

For more information about using the search result comparison tool for a single query, see Comparing single queries.

Comparing search results of a query set

Typically, viewing search result changes for two configurations is the first step in the testing process. You can then scale from one query to many in Search Relevance Workbench. You can group queries into a query set, create search configurations, and compare search results on a larger scale by looking at aggregate metrics across all queries, as shown in the following image.

Compare search results

For more information about using the search result comparison tool for a query set, see Comparing single queries.

350 characters left

Have a question? .

Want to contribute? or .