[Benchmark] Fix TermsAggregationSearchBenchmark: The `ordinals` execution mode doesn't exist anymore.
This commit is contained in:
parent
3892b6ce05
commit
a06fd46a72
|
@ -242,7 +242,7 @@ public class TermsAggregationSearchBenchmark {
|
|||
System.out.println("--> Indexing took " + stopWatch.totalTime() + ", TPS " + (((double) (COUNT)) / stopWatch.totalTime().secondsFrac()));
|
||||
} catch (Exception e) {
|
||||
System.out.println("--> Index already exists, ignoring indexing phase, waiting for green");
|
||||
ClusterHealthResponse clusterHealthResponse = client.admin().cluster().prepareHealth().setWaitForGreenStatus().setTimeout("10m").execute().actionGet();
|
||||
ClusterHealthResponse clusterHealthResponse = client.admin().cluster().prepareHealth().setWaitForYellowStatus().setTimeout("10m").execute().actionGet();
|
||||
if (clusterHealthResponse.isTimedOut()) {
|
||||
System.err.println("--> Timed out waiting for cluster health");
|
||||
}
|
||||
|
@ -258,15 +258,11 @@ public class TermsAggregationSearchBenchmark {
|
|||
stats.add(terms("terms_facet_map_s", Method.FACET, "s_value", "map"));
|
||||
stats.add(terms("terms_facet_map_s_dv", Method.FACET, "s_value_dv", "map"));
|
||||
stats.add(terms("terms_agg_s", Method.AGGREGATION, "s_value", null));
|
||||
stats.add(terms("terms_agg_s_local_ordinals", Method.AGGREGATION, "s_value", "ordinals"));
|
||||
stats.add(terms("terms_agg_s_dv", Method.AGGREGATION, "s_value_dv", null));
|
||||
stats.add(terms("terms_agg_s_dv_local_ordinals", Method.AGGREGATION, "s_value_dv", "ordinals"));
|
||||
stats.add(terms("terms_agg_map_s", Method.AGGREGATION, "s_value", "map"));
|
||||
stats.add(terms("terms_agg_map_s_dv", Method.AGGREGATION, "s_value_dv", "map"));
|
||||
stats.add(terms("terms_agg_def_s", Method.AGGREGATION_DEFERRED, "s_value", null));
|
||||
stats.add(terms("terms_agg_def_s_local_ordinals", Method.AGGREGATION_DEFERRED, "s_value", "ordinals"));
|
||||
stats.add(terms("terms_agg_def_s_dv", Method.AGGREGATION_DEFERRED, "s_value_dv", null));
|
||||
stats.add(terms("terms_agg_def_s_dv_local_ordinals", Method.AGGREGATION_DEFERRED, "s_value_dv", "ordinals"));
|
||||
stats.add(terms("terms_agg_def_map_s", Method.AGGREGATION_DEFERRED, "s_value", "map"));
|
||||
stats.add(terms("terms_agg_def_map_s_dv", Method.AGGREGATION_DEFERRED, "s_value_dv", "map"));
|
||||
stats.add(terms("terms_facet_l", Method.FACET, "l_value", null));
|
||||
|
@ -280,15 +276,11 @@ public class TermsAggregationSearchBenchmark {
|
|||
stats.add(terms("terms_facet_map_sm", Method.FACET, "sm_value", "map"));
|
||||
stats.add(terms("terms_facet_map_sm_dv", Method.FACET, "sm_value_dv", "map"));
|
||||
stats.add(terms("terms_agg_sm", Method.AGGREGATION, "sm_value", null));
|
||||
stats.add(terms("terms_agg_sm_local_ordinals", Method.AGGREGATION, "sm_value", "ordinals"));
|
||||
stats.add(terms("terms_agg_sm_dv", Method.AGGREGATION, "sm_value_dv", null));
|
||||
stats.add(terms("terms_agg_sm_dv_local_ordinals", Method.AGGREGATION, "sm_value_dv", "ordinals"));
|
||||
stats.add(terms("terms_agg_map_sm", Method.AGGREGATION, "sm_value", "map"));
|
||||
stats.add(terms("terms_agg_map_sm_dv", Method.AGGREGATION, "sm_value_dv", "map"));
|
||||
stats.add(terms("terms_agg_def_sm", Method.AGGREGATION_DEFERRED, "sm_value", null));
|
||||
stats.add(terms("terms_agg_def_sm_local_ordinals", Method.AGGREGATION_DEFERRED, "sm_value", "ordinals"));
|
||||
stats.add(terms("terms_agg_def_sm_dv", Method.AGGREGATION_DEFERRED, "sm_value_dv", null));
|
||||
stats.add(terms("terms_agg_def_sm_dv_local_ordinals", Method.AGGREGATION_DEFERRED, "sm_value_dv", "ordinals"));
|
||||
stats.add(terms("terms_agg_def_map_sm", Method.AGGREGATION_DEFERRED, "sm_value", "map"));
|
||||
stats.add(terms("terms_agg_def_map_sm_dv", Method.AGGREGATION_DEFERRED, "sm_value_dv", "map"));
|
||||
stats.add(terms("terms_facet_lm", Method.FACET, "lm_value", null));
|
||||
|
|
Loading…
Reference in New Issue