Class ScoringProfile
Defines parameters for a search index that influence scoring in search queries.
Inheritance
System.Object
ScoringProfile
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class ScoringProfile
Constructors
ScoringProfile(String)
Initializes a new instance of ScoringProfile.
Declaration
public ScoringProfile (string name);
Parameters
System.String
name
The name of the scoring profile. |
Exceptions
System.ArgumentNullException
|
Properties
FunctionAggregation
A value indicating how the results of individual scoring functions should be combined. Defaults to "Sum". Ignored if there are no scoring functions.
Declaration
public Nullable<Azure.Search.Documents.Indexes.Models.ScoringFunctionAggregation> FunctionAggregation { get; set; }
Property Value
System.Nullable<ScoringFunctionAggregation>
|
Functions
The collection of functions that influence the scoring of documents.
Declaration
public System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.ScoringFunction> Functions { get; }
Property Value
System.Collections.Generic.IList<ScoringFunction>
|
Name
The name of the scoring profile.
Declaration
public string Name { get; set; }
Property Value
System.String
|
TextWeights
Parameters that boost scoring based on text matches in certain index fields.
Declaration
public Azure.Search.Documents.Indexes.Models.TextWeights TextWeights { get; set; }
Property Value
TextWeights
|