Compartir a través de


TextWeights(IDictionary<String,Double>) Constructor

Definición

Inicializa una nueva instancia de TextWeights.

public TextWeights (System.Collections.Generic.IDictionary<string,double> weights);
new Azure.Search.Documents.Indexes.Models.TextWeights : System.Collections.Generic.IDictionary<string, double> -> Azure.Search.Documents.Indexes.Models.TextWeights
Public Sub New (weights As IDictionary(Of String, Double))

Parámetros

weights
IDictionary<String,Double>

Diccionario de pesos por campo para aumentar la puntuación de documentos. Las claves son nombres de campo y los valores son los pesos de cada campo.

Excepciones

weights es null.

Se aplica a