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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for