-
Notifications
You must be signed in to change notification settings - Fork 982
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
Optimize disjunction counts. #12415
Merged
Merged
Optimize disjunction counts. #12415
Commits on Jul 5, 2023
-
This introduces `LeafCollector#collect(DocIdStream)` to enable collectors to collect batches of doc IDs at once. `BooleanScorer` takes advantage of this by creating a `DocIdStream` whose `count()` method counts the number of bits that are set in the bit set of matches in the current window, instead of naively iterating over all matches. On wikimedium10m, this yields a ~20% speedup when counting hits for the `title OR 12` query (2.9M hits). Relates apache#12358
Configuration menu - View commit details
-
Copy full SHA for 26cb6a6 - Browse repository at this point
Copy the full SHA 26cb6a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57da108 - Browse repository at this point
Copy the full SHA 57da108View commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5102463 - Browse repository at this point
Copy the full SHA 5102463View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2820fa1 - Browse repository at this point
Copy the full SHA 2820fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3fc1e6 - Browse repository at this point
Copy the full SHA f3fc1e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ec645 - Browse repository at this point
Copy the full SHA f9ec645View commit details
Commits on Jul 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2025ba6 - Browse repository at this point
Copy the full SHA 2025ba6View commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 74c378b - Browse repository at this point
Copy the full SHA 74c378bView commit details
Commits on Aug 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d871c21 - Browse repository at this point
Copy the full SHA d871c21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b79367 - Browse repository at this point
Copy the full SHA 5b79367View commit details
Commits on Aug 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1497813 - Browse repository at this point
Copy the full SHA 1497813View commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4d9a7ed - Browse repository at this point
Copy the full SHA 4d9a7edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c237c9 - Browse repository at this point
Copy the full SHA 5c237c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba4d5e3 - Browse repository at this point
Copy the full SHA ba4d5e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaf7e89 - Browse repository at this point
Copy the full SHA aaf7e89View commit details
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.