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

Add count, min, max, and sum aggregations #1794

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

guilload
Copy link
Member

No description provided.

@guilload guilload requested a review from PSeitz January 16, 2023 17:26
@fulmicoton
Copy link
Collaborator

I don't understand the point of this PR.

The goal is to catter for the need of subset of stats in quickwit API, correct?
I don't think it requires any PR in tantivy.

We can just call use the stats collector in quickwit and populate the reponse there.

@fulmicoton
Copy link
Collaborator

Discussed outside of this PR...

Currently Quickwit directly relies on the deserialization of the aggregations object to convert a user request into a collector. This is not great, but this is what we have today.

I'll open a separate ticket to have tantivy act more bottom-up, and allow the DSL logic to be done on quickwit side...
Or at least to improve the logic on tantivy side.

@fulmicoton
Copy link
Collaborator

Opened a ticket here #1796

@guilload guilload merged commit a59bd96 into main Jan 17, 2023
@guilload guilload deleted the guilload/count-min-max-sum-aggs branch January 17, 2023 03:45
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.

None yet

2 participants