Link Search Menu Expand Document Documentation Menu

In the search bar in the Discover and Dashboard apps, you can search data using either of two languages:

The following table compares DQL and query string query language features.

Both DQL and query string query language DQL Query string query language
- Wildcard expressions (DQL supports * only)
- Ranges
- Boolean operations
- Querying nested fields - Regular expressions
- Fuzziness
- Proximity queries
- Boosting

For a detailed comparison, see DQL and query string query quick reference.

By default, the query language in the Discover search toolbar is DQL. To switch to query string syntax, select DQL and then turn off OpenSearch Dashboards Query Language. The query language changes to Lucene, as shown in the following image.

Using query string syntax in OpenSearch Dashboards Discover

350 characters left

Have a question? .

Want to contribute? or .