Skip to content

Conversation

LilyCaroline17
Copy link
Contributor

@LilyCaroline17 LilyCaroline17 commented Sep 23, 2025

Description

Due to API changes of storage of queries in local index, to properly display queries in the dashboard, queries are handled as both string and json objects and modified accordingly. There should be no issues with backporting, as we can handle what source has been stored as, as well as when it's stored as string.

Issues Resolved

Related to opensearch-project/query-insights#424

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Both cases below will display the same source query to the user.

Case 1: Source is an object

Screenshot 2025-09-29 at 3 39 16 PM

Case 2: Source is a string

Screenshot 2025-09-29 at 3 46 28 PM

@LilyCaroline17 LilyCaroline17 force-pushed the handleQueryString branch 3 times, most recently from f6102cd to 8cd6daa Compare September 29, 2025 18:15
@LilyCaroline17 LilyCaroline17 changed the title Handle source as both string and json object [Feature] Handle source as both string and json object Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant