Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Shortcut query phase using the results of other shards #51852
Changes from 23 commits
28fa23b
534b552
c02f352
010ec08
f5684ec
0acf244
6016fa4
a058127
8534ed2
27cdf19
a313d1d
662972c
76e90a2
7eb98fb
ac0451c
d0ae658
c6747e6
30b3bcb
961c2cd
d04a16d
af20421
291f742
71876e4
b8aa0e2
db4b44f
bd927bd
bf8ebde
30173b6
2e19865
8eae737
ea5727e
f50ec90
ee2591f
4ec6a6c
09bfb09
5e268c6
2307e73
ae1b278
bfd2c72
6489ffe
73aa681
b2504e6
36bec99
74b8bea
7a54222
abda530
06cbc19
74c5d99
e526147
14542f0
8ad41c2
270533c
e4e8b02
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not relevant to this PR, but In future, do we want to rewrite also requests without sort ( e.g. a keyword search) that can be shortcut?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure I follow. Are you talking of handling queries sorted by _score ? We can probably propagate the global min competitive score up to the query collector so that wouldn't require any rewrite.