Skip to content

Commit

Permalink
fix(metrix): increment default aggregation size (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Aranda committed Apr 8, 2022
1 parent a26a910 commit 523ba44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rubrix/server/commons/es_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def ids_filter(ids: List[str]):
class aggregations:
"""Group of functions related to elasticsearch aggregations requests"""

DEFAULT_AGGREGATION_SIZE = 100
DEFAULT_AGGREGATION_SIZE = 1000 # TODO: Improve this logic

@staticmethod
def nested_aggregation(nested_path: str, inner_aggregation: Dict[str, Any]):
Expand Down

0 comments on commit 523ba44

Please sign in to comment.