Comparing results with open source OpenSearch - Amazon Personalize
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Comparing results with open source OpenSearch

To understand how results are re-ranked, you can run queries with the Dev Tools console in two separate browser windows. Then you can compare results for queries with and without personalization.

To compare results with the Dev Tools console
  1. If you haven't already, follow the steps in Setting up OpenSearch and installing the plugin and Configuring the plugin.

  2. Make sure OpenSearch Dashboards is installed. The quickstart bash script installs OpenSearch Dashboards. If you don't use the script or already have a cluster running, you must install OpenSearch Dashboards. For more information, see Installing OpenSearch Dashboards.

  3. Launch OpenSearch Dashboards. Open http://localhost:5601 from a browser and sign in to OpenSearch Dashboards. The default credentials are username 'admin' and password 'admin'.

  4. Choose Dev Tools under the Management menu on the OpenSearch Dashboards home page.

  5. Open a separate browser window and open the Dev Tools console again. You can use the URL from the previous window.

  6. In one window, enter a query that doesn't use any re-ranking for personalization. In the other window, enter a curl command that uses a pipeline with the personalized_search_ranking response processor. If you paste a curl command directly into the console, the command is automatically converted into the format that the console uses. For a command example, see Applying the plugin to OpenSearch queries.

  7. Run both queries and compare the results.