TextWeights.Weights Property
Optional. Gets the dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field.
Namespace: Microsoft.Azure.Search.Models
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Usage
'Usage
Dim instance As TextWeights
Dim value As IDictionary(Of String, Double)
value = instance.Weights
instance.Weights = value
Syntax
'Declaration
Public Property Weights As IDictionary(Of String, Double)
public IDictionary<string,double> Weights { get; set; }
public:
property IDictionary<String^, double>^ Weights {
IDictionary<String^, double>^ get ();
void set (IDictionary<String^, double>^ value);
}
/** @property */
public IDictionary<String,double> get_Weights ()
/** @property */
public void set_Weights (IDictionary<String,double> value)
public function get Weights () : IDictionary<String,double>
public function set Weights (value : IDictionary<String,double>)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
TextWeights Class
TextWeights Members
Microsoft.Azure.Search.Models Namespace