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

lift clauses #5316

Merged
merged 3 commits into from
Aug 22, 2024
Merged

lift clauses #5316

merged 3 commits into from
Aug 22, 2024

Conversation

trinity-1686a
Copy link
Contributor

Description

this is akin to quickwit-oss/tantivy#2449 (which runs optimization inside the query parser), but for ast not built through the query parser. Inspired by queries seen on airmail

How was this PR tested?

added unit test to verify the optimizations are run, added prop-test to verify the optimizations never change the result of a query (which happened to be the case before)

@trinity-1686a trinity-1686a requested a review from PSeitz August 14, 2024 18:54
Copy link

github-actions bot commented Aug 14, 2024

On SSD:

Average search latency is 1.01x that of the reference (lower is better).
Ref run id: 2951, ref commit: a60508e
Link

On GCS:

Average search latency is 0.975x that of the reference (lower is better).
Ref run id: 2952, ref commit: a60508e
Link

@trinity-1686a trinity-1686a requested a review from PSeitz August 22, 2024 18:29
@trinity-1686a trinity-1686a enabled auto-merge (squash) August 22, 2024 18:32
@trinity-1686a trinity-1686a merged commit 82c475b into main Aug 22, 2024
5 checks passed
@trinity-1686a trinity-1686a deleted the trinity/lift-clauses branch August 22, 2024 18:44
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.

2 participants