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

[BUG] Dashboards do not respect search:queryLanguage option #8165

Open
neodescis opened this issue Sep 12, 2024 · 1 comment
Open

[BUG] Dashboards do not respect search:queryLanguage option #8165

neodescis opened this issue Sep 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@neodescis
Copy link
Contributor

Describe the bug

When search:queryLanguage is set to Lucene, creating a new dashboard does not respect this setting.

To Reproduce
Steps to reproduce the behavior:

  1. Set search:queryLanguage to Lucene
  2. Create a new dashboard
  3. The default query language is DQL, not Lucene

Expected behavior
The default language should be whatever is specified in search:queryLanguage

OpenSearch Version
2.15.0

Dashboards Version
2.15.0

Additional context

I believe I have tracked this down to "kuery" being hard-coded here:

https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#L125

@neodescis neodescis added bug Something isn't working untriaged labels Sep 12, 2024
@CCongWang
Copy link
Contributor

I can reproduce it using OSD 2.13 cluster
Screenshot 2024-09-12 at 4 14 45 PM
Screenshot 2024-09-12 at 4 15 25 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants