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

Support search_after to use if for getting documents after and before a given document #12

Closed
fmassot opened this issue Jun 15, 2023 · 1 comment
Assignees

Comments

@fmassot
Copy link
Contributor

fmassot commented Jun 15, 2023

The search_after feature is now available in Quickwit.

We can now use it to implement the log context feature of the explore view.

Code pointers:

@idrissneumann
Copy link
Collaborator

idrissneumann commented Nov 22, 2023

Here's a pull request: #23

Seems working fine:

Screenshot 2023-11-22 at 15 00 56

And in the logs:

grafana-quickwit-datasource  | logger=plugin.quickwit-quickwit-datasource t=2023-11-22T14:00:50.030529999Z level=info msg="Executing multisearch" searchrequests="[map[query:map[bool:map[filter:map[range:map[timestamp:map[gte:2023-11-22T06:25:46Z lte:2023-11-22T13:25:46Z]]]]] search_after:[1.700659546e+12] size:50 sort:[map[timestamp:map[order:desc]]]]]"

idrissneumann added a commit that referenced this issue Nov 23, 2023
idrissneumann added a commit that referenced this issue Nov 23, 2023
idrissneumann added a commit that referenced this issue Nov 24, 2023
Issue #12: implement DataSourceWithLogsContextSupport interface
@idrissneumann idrissneumann moved this from In Progress to Done in Quickwit grafana datasource 0.4.0 Nov 24, 2023
@idrissneumann idrissneumann moved this from Done to To review in Quickwit grafana datasource 0.4.0 Nov 24, 2023
@fmassot fmassot closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants