diff --git a/app/models/doi.rb b/app/models/doi.rb index 74d8a4c56..0f45691e2 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -472,8 +472,8 @@ def as_indexed_json(options={}) def self.query_aggregations { - resource_types: { terms: { field: 'types.resourceTypeGeneral', size: 15, min_doc_count: 1 } }, - states: { terms: { field: 'aasm_state', size: 15, min_doc_count: 1 } }, + resource_types: { terms: { field: 'types.resourceTypeGeneral', size: 20, min_doc_count: 1 } }, + states: { terms: { field: 'aasm_state', size: 3, min_doc_count: 1 } }, years: { date_histogram: { field: 'publication_year', interval: 'year', min_doc_count: 1 } }, created: { date_histogram: { field: 'created', interval: 'year', min_doc_count: 1 } }, registered: { date_histogram: { field: 'registered', interval: 'year', min_doc_count: 1 } },