mirror of https://github.com/apache/lucene.git
remove SuppressPointFields from TestCloudPivotFacet
now that SOLR-10864 is in place, there's no reason this test can't use points+docValues
This commit is contained in:
parent
98276481e4
commit
ae01113472
|
@ -29,7 +29,6 @@ import java.util.Set;
|
|||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
|
||||
import org.apache.solr.SolrTestCaseJ4.SuppressPointFields;
|
||||
import org.apache.solr.client.solrj.SolrServerException;
|
||||
import org.apache.solr.client.solrj.response.FieldStatsInfo;
|
||||
import org.apache.solr.client.solrj.response.PivotField;
|
||||
|
@ -79,7 +78,6 @@ import static org.apache.solr.common.params.FacetParams.FACET_DISTRIB_MCO;
|
|||
*
|
||||
*/
|
||||
@SuppressSSL // Too Slow
|
||||
@SuppressPointFields
|
||||
public class TestCloudPivotFacet extends AbstractFullDistribZkTestBase {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
|
@ -93,6 +91,11 @@ public class TestCloudPivotFacet extends AbstractFullDistribZkTestBase {
|
|||
// param used by test purely for tracing & validation
|
||||
private static String TRACE_SORT = "_test_sort";
|
||||
|
||||
public TestCloudPivotFacet() {
|
||||
// we need DVs on point fields to compute stats & facets
|
||||
if (Boolean.getBoolean(NUMERIC_POINTS_SYSPROP)) System.setProperty(NUMERIC_DOCVALUES_SYSPROP,"true");
|
||||
}
|
||||
|
||||
/**
|
||||
* Controls the odds of any given doc having a value in any given field -- as this gets lower,
|
||||
* the counts for "facet.missing" pivots should increase.
|
||||
|
|
Loading…
Reference in New Issue