newLogQuery
Return a new Query that will score documents as weight * Math.log(scalingFactor + S) where S is the value of the static feature.
Parameters
fieldName
field that stores features
featureName
name of the feature
weight
weight to give to this feature, must be in (0,64]
scalingFactor
scaling factor applied before taking the logarithm, must be in [1, +Infinity)
Throws
if weight is not in (0,64] or scalingFactor is not in [1, +Infinity)