TextWeights Constructors

Definition

Overloads

TextWeights()

Initializes a new instance of the TextWeights class.

TextWeights(IDictionary<String,Double>)

Initializes a new instance of the TextWeights class.

TextWeights()

Source:
TextWeights.cs

Initializes a new instance of the TextWeights class.

public TextWeights ();
Public Sub New ()

Applies to

TextWeights(IDictionary<String,Double>)

Source:
TextWeights.cs

Initializes a new instance of the TextWeights class.

public TextWeights (System.Collections.Generic.IDictionary<string,double> weights);
new Microsoft.Azure.Search.Models.TextWeights : System.Collections.Generic.IDictionary<string, double> -> Microsoft.Azure.Search.Models.TextWeights
Public Sub New (weights As IDictionary(Of String, Double))

Parameters

weights
IDictionary<String,Double>

The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field.

Applies to