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

LUCENE-10070: Skip deleted documents during facet counting for all documents #2577

Closed
wants to merge 10 commits into from

Conversation

gsmiller
Copy link

Backport from main

@gsmiller
Copy link
Author

@goankur could you please take a quick look and make sure this backport looks good to you? Everything was very trivial except for LongValueFacetCounts. Even that was pretty easy but there are some non-back-compat changes on main that required me to do some manual editing (so a double-check on that class in particular would be appreciated).

@gsmiller
Copy link
Author

FYI, will hold on this backport until 8.10 releases and an 8.11 section is added to CHANGES as part of that process (this will go in 8.11)

@goankur
Copy link
Contributor

goankur commented Sep 20, 2021

@gsmiller I did take a look at LongValueFacetCounts and other changes and everything looks good to me. Thanks for taking care of back porting this to 8_x branches.

jimczi and others added 8 commits September 27, 2021 11:15
…ants to skip low-scoring hits

 but the combined score mode doesn't allow it.
…and currentValues in SortedSetDocValuesWriter
We should not set single sort when the search_after is non-null;
otherwise, we will incorrectly skip documents whose values are equal to
the value from the search_after and docIDs are greater than the docID
from the search_after.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants