quickwit-oss / quickwit

Cloud-native search engine for observability. An open-source alternative to Datadog, Elasticsearch, Loki, and Tempo.
https://quickwit.io
Other
7.8k stars 315 forks source link

Range query optim #3194

Open fulmicoton opened 1 year ago

fulmicoton commented 1 year ago

We have two ways to deal with range queries...

Experiment with the two solutions, and see if the filter solution outperforms the docset solution for most of the queries. If it is the case, we can then work on the QueryAST (once #3148 has landed) to bubble up range queries and extract range queries as filters.

trinity-1686a commented 1 year ago

3329 will add support for warming up a range of inverted index. This means there is a 3rd option, using classic tantivy RangeQuery over the inverted index. This is likely slower on large ranges, but likely faster on smaller ranges.

PSeitz commented 9 months ago

Related issue: https://github.com/quickwit-oss/tantivy/issues/2266