Aracılığıyla paylaş


TextWeights Class

Definition

Defines weights on index fields for which matches should boost scoring in search queries.

public class TextWeights
type TextWeights = class
Public Class TextWeights
Inheritance
TextWeights

Constructors

TextWeights()

Initializes a new instance of the TextWeights class.

TextWeights(IDictionary<String,Double>)

Initializes a new instance of the TextWeights class.

Properties

Weights

Gets or sets the dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field.

Methods

Validate()

Validate the object.

Applies to