TextWeights Constructors
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET