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

Approximate match all with sort with a bounded range query #16321

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 17, 2024

  1. Approximate match all with sort with a bounded range query

    If we run a match-all query and sort results by a numeric/timestamp
    field, then we can replace the match-all with a filter over the
    top/bottom 10,000 (or whatever `track_total_hits` is set to) values
    from the sort field.
    
    Signed-off-by: Michael Froh <[email protected]>
    msfroh committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    63f4727 View commit details
    Browse the repository at this point in the history
  2. Add unit tests

    Also added feature flag to ALL_FEATURE_FLAG_SETTINGS so it is
    recognized.
    
    Also fixed a couple of bugs in ApproximatePointRangeQuery that I caught
    with testing.
    
    Signed-off-by: Michael Froh <[email protected]>
    msfroh committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ccc1e07 View commit details
    Browse the repository at this point in the history
  3. Add changelog entry

    Signed-off-by: Michael Froh <[email protected]>
    msfroh committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ba058a1 View commit details
    Browse the repository at this point in the history