After a data source is configured, you can start to search for data. The OpenSearch console provides the Search Test page for you to run search tests. You can configure clauses and parameters to search for data. You can configure search tests for search requests based on your business requirements. For more information, see API overview and SDK overview.
The following part describes how to run a search test on the Search Test page in the OpenSearch console. To run a search test on the Search Test page, click the + icons next to Clauses and Parameters, select clauses and parameters that you want to use from the drop-down lists, configure clauses and parameters, and then click Search.
Run a search test
Log on to the OpenSearch console. In the upper-left corner, move the pointer over the place where the OpenSearch edition is displayed and select OpenSearch High-performance Search Edition. In the left-side navigation pane, choose Feature Extensions > Search Test. On the Search Test page, configure clauses and parameters to perform search tests.
OpenSearch native queries

Clauses: For more information, see query, filter, sort, distinct, aggregate, kvpair, and config.
Parameters: For more information, see Initiate search requests.
SQL queries

SQL syntax: For more information, see SQL features.
Dynamic parameters: For more information, see Dynamic parameters.
Search test features
Native queries
Add query clauses.

Add query parameters.

View the query URL. The encoded query string is displayed.

View sort details. Generally, you can use this feature to view the calculated score of a sort expression.

Turn on the source code mode. If the format parameter in the config clause specifies the fullJSON format and an aggregate clause is included in the query, you can turn on the source code mode to view the statistics in the facet node.

SQL queries
Turn on the source code mode. You can turn on the source code mode to view the results in different formats. For example, you can view the results in the JSON format.
