Table of Contents

Class MatchRequest

Namespace
Textkernel.Tx.Models.API.Matching.Request
Assembly
Textkernel.Tx.SDK.dll

Request body for a Match request

public abstract class MatchRequest : SearchMatchRequestBase
Inheritance
MatchRequest
Derived
Inherited Members

Properties

PreferredCategoryWeights

The weights you want to use for scoring. It is important to specify these, otherwise default values will be used.

These weights will be used except in the case that you provided a non-zero weight for a category that is irrelevant in the source document. For example, this can happen when the source document contains no languages.
See also: AppliedCategoryWeights

public CategoryWeights PreferredCategoryWeights { get; set; }

Property Value

CategoryWeights

Take

The number of results to return.

public int Take { get; set; }

Property Value

int