Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ScoringProfile Class

Definition

Namespace:
Azure.Search.Documents.Indexes.Models
Assembly:
Azure.Search.Documents.dll
Package:
Azure.Search.Documents v12.0.0
Package:
Azure.Search.Documents v12.1.0-beta.1
Source:
ScoringProfile.cs
Source:
ScoringProfile.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines parameters for a search index that influence scoring in search queries.

public class ScoringProfile : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.ScoringProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.ScoringProfile>
type ScoringProfile = class
 interface IJsonModel<ScoringProfile>
 interface IPersistableModel<ScoringProfile>
Public Class ScoringProfile
Implements IJsonModel(Of ScoringProfile), IPersistableModel(Of ScoringProfile)
Inheritance
ScoringProfile
Implements

Constructors

Name Description
ScoringProfile(String)

Initializes a new instance of ScoringProfile.

Properties

Name Description
FunctionAggregation

A value indicating how the results of individual scoring functions should be combined. Defaults to "Sum". Ignored if there are no scoring functions.

Functions

The collection of functions that influence the scoring of documents.

Name

The name of the scoring profile.

TextWeights

Parameters that boost scoring based on text matches in certain index fields.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ScoringProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ScoringProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScoringProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScoringProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ScoringProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to


Feedback

Was this page helpful?