ScoringProfile Class

Definition

Defines parameters for an Azure Search index that influence scoring in search queries.

public class ScoringProfile
type ScoringProfile = class
Public Class ScoringProfile
Inheritance
ScoringProfile

Constructors

ScoringProfile()

Initializes a new instance of the ScoringProfile class.

ScoringProfile(String, TextWeights, IList<ScoringFunction>, Nullable<ScoringFunctionAggregation>)

Initializes a new instance of the ScoringProfile class.

Properties

FunctionAggregation

Gets or sets a value indicating how the results of individual scoring functions should be combined. Defaults to "Sum". Ignored if there are no scoring functions. Possible values include: 'sum', 'average', 'minimum', 'maximum', 'firstMatching'

Functions

Gets or sets the collection of functions that influence the scoring of documents.

Name

Gets or sets the name of the scoring profile.

TextWeights

Gets or sets parameters that boost scoring based on text matches in certain index fields.

Methods

Validate()

Validate the object.

Applies to