你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TextWeights 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TextWeights() |
初始化 TextWeights 类的新实例。 |
TextWeights(IDictionary<String,Double>) |
初始化 TextWeights 类的新实例。 |
TextWeights()
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>
用于提高文档评分的每字段权重的字典。 键是字段名称,值是每个字段的权重。