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

Shortcut query phase using the results of other shards (#51852) #53659

Merged
merged 6 commits into from
Mar 18, 2020

Commits on Mar 17, 2020

  1. Shortcut query phase using the results of other shards (elastic#51852)

    This commit, built on top of elastic#51708, allows to modify shard search requests based on informations collected on other shards. It is intended to speed up sorted queries on time-based indices. For queries that are only interested in the top documents.
    
    This change will rewrite the shard queries to match none if the bottom sort value computed in prior shards is better than all values in the shard.
    For queries that mix top documents and aggregations this change will reset the size of the top documents to 0 instead of rewriting to match none.
    This means that we don't need to keep a search context open for this shard since we know in advance that it doesn't contain any competitive hit.
    jimczi committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    0aec331 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ec44ae View commit details
    Browse the repository at this point in the history
  3. fix rest test

    jimczi committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    861eb36 View commit details
    Browse the repository at this point in the history
  4. fix rest test (take 2)

    jimczi committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    f89a66e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f410044 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d564daf View commit details
    Browse the repository at this point in the history