Using matching document original score in filter script for custom filters score query

I want to use "custom filters score" query and use filters to control the
score of resulting documents.

I want a way to use the document's original score as computed by
ElasticSearch, and then use that score to calculate the final score of the
document, which matches the given filters.

Something like "_docScore * 50/100" as a script for a filter, where
"_docScore" is the original score of a document that matches the filter.

How to achieve this in ElasticSearch?

Any help is greatly appreciated.

Regards & Thanks,

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