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

[Backport 2.x] Top n queries historical queries from local index and time range #105

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 4d896cc from #84.

* Added support for historical top n queries

Signed-off-by: Emily Guo <[email protected]>

Handle indexing errors and accurate search parsing

Signed-off-by: Emily Guo <[email protected]>

Correctly filter in window queries when from and to exist

Signed-off-by: Emily Guo <[email protected]>

Remove search requests from top n queries

Signed-off-by: Emily Guo <[email protected]>

Removed comments

Signed-off-by: Emily Guo <[email protected]>

Comments for new functions

Signed-off-by: Emily Guo <[email protected]>

Comments for new functions

Signed-off-by: Emily Guo <[email protected]>

Updated comments

Signed-off-by: Emily Guo <[email protected]>

* Added unit tests

Signed-off-by: Emily Guo <[email protected]>

* Update LocalIndexExporter.java

Signed-off-by: Emily Guo <[email protected]>

* Update LocalIndexReaderTests.java

Signed-off-by: Emily Guo <[email protected]>

* Update QueryInsightsReaderFactoryTests.java

Signed-off-by: Emily Guo <[email protected]>

* Address comments, change getTimeRange into getFrom and getTo, apply filters to historical, and rename functions

Signed-off-by: Emily Guo <[email protected]>

* Fix test cases

Signed-off-by: Emily Guo <[email protected]>

---------

Signed-off-by: Emily Guo <[email protected]>
Signed-off-by: Emily Guo <[email protected]>
Signed-off-by: Emily Guo <[email protected]>
(cherry picked from commit 4d896cc)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@ansjcy ansjcy merged commit cb053c1 into 2.x Sep 5, 2024
24 checks passed
@ansjcy ansjcy deleted the backport/backport-84-to-2.x branch September 5, 2024 20:37
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