Hey
minor note: the custom_filters_score is deprecated and replaced by function
score, see
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#_relation_to_literal_custom_boost_literal_literal_custom_score_literal_and_literal_custom_filters_sco
An Elasticsearch filtered query with a custom filter score query is
expected to do scoring process for the documents returned by the filter.
Instead the custom filter score query was fetching all documents and
evaluating each of those document against the filter set.
I did some analysis and h