mirror of https://github.com/apache/lucene.git
SOLR-14831: remove deprecated-and-unused "facet.distrib.mco" constant in FacetParams.java (#1832)
This commit is contained in:
parent
f46515ee6b
commit
04def94492
solr/solrj/src/java/org/apache/solr/common/params
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue