public abstract class ScoringFunction extends Object
Constructor and Description |
---|
ScoringFunction() |
Modifier and Type | Method and Description |
---|---|
double |
getBoost()
Get the boost property: A multiplier for the raw score.
|
String |
getFieldName()
Get the fieldName property: The name of the field used as input to the
scoring function.
|
ScoringFunctionInterpolation |
getInterpolation()
Get the interpolation property: A value indicating how boosting will be
interpolated across document scores; defaults to "Linear".
|
ScoringFunction |
setBoost(double boost)
Set the boost property: A multiplier for the raw score.
|
ScoringFunction |
setFieldName(String fieldName)
Set the fieldName property: The name of the field used as input to the
scoring function.
|
ScoringFunction |
setInterpolation(ScoringFunctionInterpolation interpolation)
Set the interpolation property: A value indicating how boosting will be
interpolated across document scores; defaults to "Linear".
|
public String getFieldName()
public ScoringFunction setFieldName(String fieldName)
fieldName
- the fieldName value to set.public double getBoost()
public ScoringFunction setBoost(double boost)
boost
- the boost value to set.public ScoringFunctionInterpolation getInterpolation()
public ScoringFunction setInterpolation(ScoringFunctionInterpolation interpolation)
interpolation
- the interpolation value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.