TextWeights Class
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.
Defines weights on index fields for which matches should boost scoring in search queries.
public class TextWeights
type TextWeights = class
Public Class TextWeights
- Inheritance
-
TextWeights
Constructors
TextWeights() |
Initializes a new instance of the TextWeights class. |
TextWeights(IDictionary<String,Double>) |
Initializes a new instance of the TextWeights class. |
Properties
Weights |
Gets or sets the dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field. |
Methods
Validate() |
Validate the object. |
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