You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why these changes are being introduced:
Aggregations are currently calculated even when
they are not requested in the GraphQL query. It
would be more efficient to calculate them only
when they are needed.
Relevant ticket(s):
- [USE-491](https://mitlibraries.atlassian.net/browse/USE-491)
How this addresses that need:
This adds a `requested_aggregations` method to
Query Type that evaluates which aggregations are
requested in the query. This information is then
used in the Aggregations and Opensearch models
to calculate only the requested aggregations.
Side effects of this change:
None.
0 commit comments