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

SOLR-14595: Consistent JSON Facet field overrequest across different facet methods #447

Merged
merged 10 commits into from Jan 27, 2022

Conversation

magibney
Copy link
Contributor

@magibney magibney commented Dec 6, 2021

See: SOLR-14595

Extends overrequest capability to FacetFieldProcessorByEnumTermsStream for the case where it makes a direct difference: resort; and a complementary optimization to avoid overrequest for "index" sort on the base FacetFieldProcessor class.

…facet methods

Extends overrequest capability to `FacetFieldProcessorByEnumTermsStream`
for the case where it makes a direct difference: `resort`; and
a complementary optimization to avoid `overrequest` for "index"
sort on the base `FacetFieldProcessor` class.
…Equiv`

Despite beasting heavily, I was not able to find a pre-patch failing
seed to sanity-check/confirm that this removal is safe; but relying
on `TestJsonFacetRefinement.testIndexAscRefineConsistency()` (which
_does_ confirm) should be sufficient.
…quest

This support maintains backward compatibility with the
existing implementation.
@magibney magibney merged commit cfacd18 into apache:main Jan 27, 2022
magibney added a commit that referenced this pull request Jan 27, 2022
… `sort:index` JSON Facet field (#447)

(cherry picked from commit cfacd18)
magibney added a commit that referenced this pull request Jan 27, 2022
… `sort:index` JSON Facet field (#447)

(cherry picked from commit 521b19c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant