You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2020/09/09 12:09:30 UTC
[lucene-solr] branch master updated: SOLR-14831: remove
deprecated-and-unused "facet.distrib.mco" constant in FacetParams.java
(#1832)
This is an automated email from the ASF dual-hosted git repository.
cpoerschke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new 04def94 SOLR-14831: remove deprecated-and-unused "facet.distrib.mco" constant in FacetParams.java (#1832)
04def94 is described below
commit 04def9449261d78038e8c34662300791a372bfaa
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Wed Sep 9 13:09:21 2020 +0100
SOLR-14831: remove deprecated-and-unused "facet.distrib.mco" constant in FacetParams.java (#1832)
---
.../org/apache/solr/common/params/FacetParams.java | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/solr/solrj/src/java/org/apache/solr/common/params/FacetParams.java b/solr/solrj/src/java/org/apache/solr/common/params/FacetParams.java
index d8baa63..716763d 100644
--- a/solr/solrj/src/java/org/apache/solr/common/params/FacetParams.java
+++ b/solr/solrj/src/java/org/apache/solr/common/params/FacetParams.java
@@ -125,25 +125,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
*
* example: author,type (for types by author / types within author)