你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextWeights 构造函数

定义

重载

TextWeights()

初始化 TextWeights 类的新实例。

TextWeights(IDictionary<String,Double>)

初始化 TextWeights 类的新实例。

TextWeights()

Source:
TextWeights.cs

初始化 TextWeights 类的新实例。

public TextWeights ();
Public Sub New ()

适用于

TextWeights(IDictionary<String,Double>)

Source:
TextWeights.cs

初始化 TextWeights 类的新实例。

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

参数

weights
IDictionary<String,Double>

用于提高文档评分的每字段权重的字典。 键是字段名称,值是每个字段的权重。

适用于