SearchIndexKnowledgeSourceFieldValueBoost(String, Double) Constructor
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.
Initializes a new instance of SearchIndexKnowledgeSourceFieldValueBoost.
public SearchIndexKnowledgeSourceFieldValueBoost(string field, double boost);
new Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceFieldValueBoost : string * double -> Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceFieldValueBoost
Public Sub New (field As String, boost As Double)
Parameters
- field
- String
The name of the search index field.
- boost
- Double
A multiplier for the document score. Must be a positive number not equal to 1.0.
Exceptions
field is null.