SOLR-14831: remove deprecated-and-unused "facet.distrib.mco" constant in FacetParams.java ()

This commit is contained in:
Christine Poerschke 2020-09-09 13:09:21 +01:00 committed by GitHub
parent f46515ee6b
commit 04def94492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 19 deletions
solr/solrj/src/java/org/apache/solr/common/params

View File

@ -124,25 +124,6 @@ public interface FacetParams {
public static final String FACET_DISTRIB = FACET + ".distrib";
/**
* If we are returning facet field counts, are sorting those facets by their count, and the minimum count to return is > 0,
* then allow the use of facet.mincount = 1 in cloud mode. To enable this use facet.distrib.mco=true.
*
* i.e. If the following three conditions are met in cloud mode: facet.sort=count, facet.limit > 0, facet.mincount > 0.
* Then use facet.mincount=1.
*
* Previously and by default facet.mincount will be explicitly set to 0 when in cloud mode for this condition.
* In SOLR-8599 and SOLR-8988, significant performance increase has been seen when enabling this optimization.
*
* Note: enabling this flag has no effect when the conditions above are not met. For those other cases the default behavior is sufficient.
*
* @deprecated
* This option is no longer used nor will if affect any queries as the fix has been built in. (SOLR-11711)
* This will be removed entirely in 8.0.0
*/
@Deprecated
public static final String FACET_DISTRIB_MCO = FACET_DISTRIB + ".mco";
/**
* Comma separated list of fields to pivot
*