Not able to select different scoremodel for function_score


(Rajendra Prasad Modadugu) #1

I am extending ScoreFunction to implement function score. while instantiating the object I am setting up the type of score model as follows

ScoreBoostFunction(QueryParseContext queryParseContext, List fieldBoostEntryList,
float defaultBoost, float boostFactor, Modifier modifierType) {
super(CombineFunction.REPLACE);

What ever combine function i choose, it is always defaulting to multiply. Can you please let me know if this is a know bug ?

I am using elastic search 2.3.3 version.

thanks,
Rajendra


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.