quickwit-oss / quickwit-oss/quickwit

Filtered aggregation

Open
#2,648 2 comments 0 reactions 1 assignee View on GitHub

@PSeitz is already working on this.

Since Jan 12, 2023.

enhancement
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

Description

When doing an aggregation over a string field, it can be useful to apply a filter over the field being aggregated.

Use case:
Application logs with a facet over the different endpoints.
The endpoints that interests the user could be all of the endpoints below /api/admin/.

In that case the use could be interested in getting the aggregation results only for endpoints starting by /api/admin/.

In practise, we want to convert that into a range query, so that we apply we filter a range over the term ordinals.

Warning

This is not about query filter, this is aggregation filtering.

The point is to display a subset of the aggregates count.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.