SearchModelFactory.SearchIndexKnowledgeSourceMultiWordExpressionBoost 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 boosts documents based on a multi-word expression.
public static Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceMultiWordExpressionBoost SearchIndexKnowledgeSourceMultiWordExpressionBoost(string boostInstructions = default, System.Collections.Generic.IEnumerable<string> fieldValues = default, double boost = 0);
static member SearchIndexKnowledgeSourceMultiWordExpressionBoost : string * seq<string> * double -> Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceMultiWordExpressionBoost
Public Shared Function SearchIndexKnowledgeSourceMultiWordExpressionBoost (Optional boostInstructions As String = Nothing, Optional fieldValues As IEnumerable(Of String) = Nothing, Optional boost As Double = 0) As SearchIndexKnowledgeSourceMultiWordExpressionBoost
Parameters
- boostInstructions
- String
Natural-language instructions that explain when and how to apply the boost.
- fieldValues
- IEnumerable<String>
Representative values for the boost.
- boost
- Double
A multiplier for the document score. Must be a positive number not equal to 1.0.
Returns
A new SearchIndexKnowledgeSourceMultiWordExpressionBoost instance for mocking.