Filter on score

Is there any way in ES to create a filter based on a document's score in
some query? I know min_score allows me to do this at the search request
level, but I basically need that functionality at the filter level. If query
filter a min_score parameter it would work. Or if a range
filter me use a document's score, not just fields.

Alternatively, is there any way to access the score in a script filter
I've tried _score, doc['_score'].value, and doc.score, but none of these

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit