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

LimitFields optimization for hit-terms #2688

Draft
wants to merge 5 commits into
base: integration
Choose a base branch
from

Conversation

dtspence
Copy link
Collaborator

Implements the following optimizations for limit fields:

  • Key/group parsing: parse the key/group in reduced passes.
  • Hit-term pre-evaluation: evaluate hit-terms up front and cache for use later.

The hit-term pre-evaluation and key/group parsing have the most benefit throughput-wise. There was another optimization tested around the per-field cache lookups, but the improvement may not be noticable per-query and requires additional query testing to determine impact.

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