I want to use filters in my search, each one with a query that results in a
score. I then want to use score_mode 'total' to combine the filter scores.
I do want to control the scores of each filter (and query within it), but
using the original score of the query inside a filter. I want the script of
the filter to be something like Script("_score * 50/100").
This way I can set the weightage of each filter in the overall search score.
However using _score in the filter script of a custom_filters_score is not
allowed. How can I get the original score of a filter (and its inner query)
computed by ElasticSearch, which I can use as base for my custom score for
Any help is greatly appreciated.
Thanks & Regards,
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.