I think I misunderstood what you wanted to do eventually. If you are using Kibana with a query like this:
This is the query that's built behind the scenes:
As you can see, the terms matching (geo.src equals US) goes into the filter of a bool query.
This is what Elasticsearch documentation has to say about filter:
filter|The clause (query) must appear in matching documents. However unlikemustthe score of the query will be ignored. Filter clauses are executed in filter context, meaning that scoring is ignored and clauses are considered for caching.
So as long as your clauses end up in the top level filter (which is the case for KQL and filter pills), you don't have to worry about scoring.
