public final class ScoringProfile extends Object
Constructor and Description |
---|
ScoringProfile() |
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 |
setName(String name)
Set the name property: The name of the scoring profile.
|
ScoringProfile |
setTextWeights(TextWeights textWeights)
Set the textWeights property: Parameters that boost scoring based on
text matches in certain index fields.
|
public String getName()
public ScoringProfile setName(String name)
name
- the name value to set.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.Copyright © 2020 Microsoft Corporation. All rights reserved.