diff --git a/app/models/doi.rb b/app/models/doi.rb index b0698909a..3c2e4b3cd 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -627,7 +627,8 @@ def self.gql_query_aggregations(facet_count: 10) def self.query_aggregations(disable_facets: false) if !disable_facets { - resource_types: { terms: { field: "resource_type_id_and_name", size: 16, min_doc_count: 1 } }, + # number of resourceTypeGeneral increased from 16 to 28 in schema 4.4 + resource_types: { terms: { field: "resource_type_id_and_name", size: 30, min_doc_count: 1 } }, states: { terms: { field: "aasm_state", size: 3, min_doc_count: 1 } }, published: { date_histogram: {