From 42c683b2b7e2df2086f72ef005803246188e57ac Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 22 Nov 2019 00:08:55 +0100 Subject: [PATCH] use higher size limits. datacite/datacite#359 --- app/models/doi.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/doi.rb b/app/models/doi.rb index 3ca4bd30a..6571c8be8 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -516,8 +516,8 @@ def self.totals_aggregations { providers_totals: { terms: { field: 'provider_id', size: 250, min_doc_count: 1 }, aggs: sub_aggregations }, - clients_totals: { terms: { field: 'client_id', size: 250, min_doc_count: 1 }, aggs: sub_aggregations }, - prefixes_totals: { terms: { field: 'prefix', size: 250, min_doc_count: 1 }, aggs: sub_aggregations }, + clients_totals: { terms: { field: 'client_id', size: 2000, min_doc_count: 1 }, aggs: sub_aggregations }, + prefixes_totals: { terms: { field: 'prefix', size: 3000, min_doc_count: 1 }, aggs: sub_aggregations }, } end