ScoringProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines parameters for a search index that influence scoring in search queries. https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index
public class ScoringProfile
type ScoringProfile = class
Public Class ScoringProfile
- Inheritance
-
ScoringProfile
Constructors
ScoringProfile() |
Initializes a new instance of the ScoringProfile class. |
ScoringProfile(String, TextWeights, IList<ScoringFunction>, Nullable<ScoringFunctionAggregation>) |
Initializes a new instance of the ScoringProfile class. |
Properties
FunctionAggregation |
Gets or sets a value indicating how the results of individual scoring functions should be combined. Defaults to "Sum". Ignored if there are no scoring functions. Possible values include: 'sum', 'average', 'minimum', 'maximum', 'firstMatching' |
Functions |
Gets or sets the collection of functions that influence the scoring of documents. |
Name |
Gets or sets the name of the scoring profile. |
TextWeights |
Gets or sets parameters that boost scoring based on text matches in certain index fields. |
Methods
Validate() |
Validate the object. |