Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can set different query languages (DQL, Lucene, OpenSearch SQL and PPL) #9186

Closed
ananzh opened this issue Jan 15, 2025 · 1 comment
Closed
Labels
discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative

Comments

@ananzh
Copy link
Member

ananzh commented Jan 15, 2025

Steps

For Data type: Index Pattern, Language: DQL

  • Navigate to the Discover page and set query language to "DQL".
  • Set date range.
  • Enter query "_id:1" in query editor.
  • Check Hit count shows 1
  • After page refresh, hit count remains 1

For Data type: Index Pattern, Language: Lucene

Same as DQL

For Data type: Index Pattern, Language: OpenSearch SQL

  • Set query language to "OpenSearch SQL"
  • Query editor shows default query "SELECT * FROM LIMIT 10"
  • Query completion message is visible
  • After page refresh, query completion message remains visible
  • After backspace input, submitting query shows completion message

For Data type: Index Pattern, Language: OpenSearch PPL

  • Set query language to "PPL"
  • Query editor shows default query "source = "
  • Query completion message is visible
  • After page refresh, query completion message remains visible
  • Hit count shows 10,000

Video

quries.mp4
@ananzh ananzh added the discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative label Jan 15, 2025
@ananzh
Copy link
Member Author

ananzh commented Jan 15, 2025

resolved by #9082

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discover_2.0-test Issues that are specific to the Discover 2.0 testing initiative
Projects
None yet
Development

No branches or pull requests

1 participant