def test_1080(self): """field_alpha_histogram(): Query returns histogram.""" solr_client = d1_client.solr_client.SolrClient(CN_RESPONSES_BASE_URL) bin_list = solr_client.field_alpha_histogram( 'formatId', **self.span_limit(SHORT_SPAN, n_bins=10, q='id:*') ) self.sample.assert_equals(bin_list, 'field_alpha_histogram')
def test_1070(self): """field_alpha_histogram(): Query returns histogram""" solr_client = d1_client.solr_client.SolrClient(CN_RESPONSES_BASE_URL) bin_list = solr_client.field_alpha_histogram( 'formatId', q='*abc*', fq='updateDate:[* TO 2016-12-31T23:59:59Z]', n_bins=10 ) self.sample.assert_equals(bin_list, 'field_alpha_histogram')
def test_1080(self): """field_alpha_histogram(): Query returns histogram.""" solr_client = d1_client.solr_client.SolrClient(CN_RESPONSES_BASE_URL) bin_list = solr_client.field_alpha_histogram( 'formatId', **self.span_limit(SHORT_SPAN, n_bins=10, q='id:*')) self.sample.assert_equals(bin_list, 'field_alpha_histogram')