I have a question in using the field_value_factor
with ElasticSearch.
The function that I would like to implement is
alpha * log(1 + beta * doc['popularity'].value)
When alpha = 1.0
, the script using the field_value_factor
is given by
"field_value_factor": {
"field": "popularity",
"factor": beta,
"modifier": "log1p"
}
as shown in this link:
However, when alpha != 1.0
, how we can give the weight (i.e. alpha) using the field_value_factor
?
Do you have any idea for this?