Class TextWeights
Defines weights on index fields for which matches should boost scoring in search queries.
Inheritance
System.Object
TextWeights
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class TextWeights
Constructors
TextWeights(IDictionary<String,Double>)
Initializes a new instance of TextWeights.
Declaration
public TextWeights (System.Collections.Generic.IDictionary<string,double> weights);
Parameters
System.Collections.Generic.IDictionary<System.String,System.Double>
weights
The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field. |
Exceptions
System.ArgumentNullException
|
Properties
Weights
The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field.
Declaration
public System.Collections.Generic.IDictionary<string,double> Weights { get; }
Property Value
System.Collections.Generic.IDictionary<System.String,System.Double>
|