Skip to content

Commit

Permalink
Merge pull request #95 from mediacloud/domain-aggregation
Browse files Browse the repository at this point in the history
client.py: fix for domain aggregation
  • Loading branch information
philbudne authored Oct 24, 2024
2 parents e855457 + 426e33d commit dbc47f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Aggregators(Enum):
}
TOP_LANGS = {"toplangs": {"terms": {"field": "language.keyword", "size": 100}}}
TOP_DOMAINS = {
"topdomains": {"terms": {"field": "canonical_domain.keyword", "size": 100}}
"topdomains": {"terms": {"field": "canonical_domain", "size": 100}}
}

def __init__(self, query_text):
Expand Down

0 comments on commit dbc47f1

Please sign in to comment.