ภาษา

SearchModelFactory.SearchIndexKnowledgeSourceBoost(String, String) Method

Definition

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.

Applies to