Freigeben über


ScoringProfile Konstruktoren

Definition

Überlädt

ScoringProfile()

Initialisiert eine neue instance der ScoringProfile-Klasse.

ScoringProfile(String, TextWeights, IList<ScoringFunction>, Nullable<ScoringFunctionAggregation>)

Initialisiert eine neue instance der ScoringProfile-Klasse.

ScoringProfile()

Quelle:
ScoringProfile.cs

Initialisiert eine neue instance der ScoringProfile-Klasse.

public ScoringProfile ();
Public Sub New ()

Gilt für:

ScoringProfile(String, TextWeights, IList<ScoringFunction>, Nullable<ScoringFunctionAggregation>)

Quelle:
ScoringProfile.cs

Initialisiert eine neue instance der ScoringProfile-Klasse.

public ScoringProfile (string name, Microsoft.Azure.Search.Models.TextWeights textWeights = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ScoringFunction> functions = default, Microsoft.Azure.Search.Models.ScoringFunctionAggregation? functionAggregation = default);
new Microsoft.Azure.Search.Models.ScoringProfile : string * Microsoft.Azure.Search.Models.TextWeights * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.ScoringFunction> * Nullable<Microsoft.Azure.Search.Models.ScoringFunctionAggregation> -> Microsoft.Azure.Search.Models.ScoringProfile
Public Sub New (name As String, Optional textWeights As TextWeights = Nothing, Optional functions As IList(Of ScoringFunction) = Nothing, Optional functionAggregation As Nullable(Of ScoringFunctionAggregation) = Nothing)

Parameter

name
String

Der Name des Bewertungsprofils.

textWeights
TextWeights

Parameter, die die Bewertung basierend auf Text-Übereinstimmungen in bestimmten Indexfeldern erhöhen.

functions
IList<ScoringFunction>

Die Auflistung von Funktionen, die die Bewertung von Dokumenten beeinflussen.

functionAggregation
Nullable<ScoringFunctionAggregation>

Ein Wert, der angibt, wie die Ergebnisse einzelner Bewertungsfunktionen kombiniert werden sollen. Der Standardwert ist "Sum". Wird ignoriert, wenn keine Bewertungsfunktionen vorhanden sind. Mögliche Werte: "sum", "average", "minimum", "maximum", "firstMatching"

Gilt für: