Skip to content

Commit

Permalink
increase size of some large taxon aggregations
Browse files Browse the repository at this point in the history
  • Loading branch information
pleary committed Dec 15, 2023
1 parent 7ef748c commit 351f41c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/controllers/v1/observations_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ ObservationsController.taxa = async req => {
taxon_ids: {
terms: {
field: "taxon.id",
size: 500000
size: 600000
}
}
}
Expand Down Expand Up @@ -876,7 +876,7 @@ ObservationsController.taxonomy = async req => {
min_species_taxon_ids: {
terms: {
field: "taxon.id",
size: 500000
size: 600000
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/models/es_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const ESModel = class ESModel {
per_page: 0,
no_total_hits: true,
aggs: {
ancestries: { terms: { field, size: 500000 } }
ancestries: { terms: { field, size: 600000 } }
}
} );
const countReq = _.assignIn( { }, req, { query: countQuery } );
Expand Down

0 comments on commit 351f41c

Please sign in to comment.