SearchModelFactory.SearchIndexKnowledgeSourceBoost(String, String) Method
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.
A hint that identifies a condition the query planner can use to influence document ranking. Please note this is the abstract base class. The derived classes available for instantiation are: SearchIndexKnowledgeSourceFieldValueBoost and SearchIndexKnowledgeSourceMultiWordExpressionBoost.
public static Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceBoost SearchIndexKnowledgeSourceBoost(string kind = default, string boostInstructions = default);
static member SearchIndexKnowledgeSourceBoost : string * string -> Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceBoost
Public Shared Function SearchIndexKnowledgeSourceBoost (Optional kind As String = Nothing, Optional boostInstructions As String = Nothing) As SearchIndexKnowledgeSourceBoost
Parameters
- kind
- String
The kind of boost hint.
- boostInstructions
- String
Natural-language instructions that explain when and how to apply the boost.
Returns
A new SearchIndexKnowledgeSourceBoost instance for mocking.