OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[Proposal] - Improved DQL Querying

Open shanilpa opened this issue 1 year ago • 1 comments
trafficstars

Overview

The following proposal aims to improve the DQL querying experience in Discover by including auto-complete / suggest functionality to help users write DQL searches. Related issue: https://github.com/opensearch-project/OpenSearch-Dashboards/issues/1176

Autocomplete for DQL

Users should be able to select from syntax, fields, matching saved searches, previous searches. Recommended component to use: https://oui.opensearch.org/1.5/#/forms/suggest

image

shanilpa avatar Mar 07 '24 21:03 shanilpa

For DQL, we should probably change the term from "DQL Query" To "Search and filter using DQL" -> Since DQL is a subset of Query DSL, and provides the basis for searching and filtering, this isn't really a query. This will also allow us to disambiguate between saved searches (currently in Discover), saved queries (for PPL/SQL), and saved filters (Currently named saved queries). This will also help clarify searching/filtering in dashboards and visualizations, since DQL unifies the search/filter behavior across dashboards, visualizations and discover.

kgcreative avatar Mar 08 '24 01:03 kgcreative

+1 from us to auto-complete

golgotow avatar Apr 08 '24 16:04 golgotow