Skip to content

Commit

Permalink
Merge pull request #90 from mediacloud/domain.keyword
Browse files Browse the repository at this point in the history
add keyword to domain agg query
  • Loading branch information
pgulley authored Aug 7, 2024
2 parents 8f12836 + 97010b5 commit ef50448
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ def overview_query(self):
}
},
"lang": {"terms": {"field": "language.keyword", "size": 100}},
"domain": {"terms": {"field": "canonical_domain", "size": 100}},
"domain": {
"terms": {"field": "canonical_domain.keyword", "size": 100}
},
"tld": {"terms": {"field": "tld", "size": 100}},
},
"track_total_hits": True,
Expand Down

0 comments on commit ef50448

Please sign in to comment.