public final class ScoringProfile extends Object
Constructor and Description |
---|
ScoringProfile(String name)
Creates an instance of ScoringProfile class.
|
Modifier and Type | Method and Description |
---|---|
ScoringFunctionAggregation |
getFunctionAggregation()
Get the functionAggregation property: A value indicating how the results of individual scoring functions should
be combined.
|
List<ScoringFunction> |
getFunctions()
Get the functions property: The collection of functions that influence the scoring of documents.
|
String |
getName()
Get the name property: The name of the scoring profile.
|
TextWeights |
getTextWeights()
Get the textWeights property: Parameters that boost scoring based on text matches in certain index fields.
|
ScoringProfile |
setFunctionAggregation(ScoringFunctionAggregation functionAggregation)
Set the functionAggregation property: A value indicating how the results of individual scoring functions should
be combined.
|
ScoringProfile |
setFunctions(List<ScoringFunction> functions)
Set the functions property: The collection of functions that influence the scoring of documents.
|
ScoringProfile |
setFunctions(ScoringFunction... functions)
Set the functions property: The collection of functions that influence the scoring of documents.
|
ScoringProfile |
setTextWeights(TextWeights textWeights)
Set the textWeights property: Parameters that boost scoring based on text matches in certain index fields.
|
public ScoringProfile(String name)
name
- the name value to set.public String getName()
public TextWeights getTextWeights()
public ScoringProfile setTextWeights(TextWeights textWeights)
textWeights
- the textWeights value to set.public List<ScoringFunction> getFunctions()
public ScoringProfile setFunctions(List<ScoringFunction> functions)
functions
- the functions value to set.public ScoringFunctionAggregation getFunctionAggregation()
public ScoringProfile setFunctionAggregation(ScoringFunctionAggregation functionAggregation)
functionAggregation
- the functionAggregation value to set.public ScoringProfile setFunctions(ScoringFunction... functions)
functions
- the functions value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.