Class RankFeatureAttribute
A field that can index numbers so that they can later be used to boost documents in queries with a rank_feature query.
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public class RankFeatureAttribute : OpenSearchPropertyAttributeBase, IPropertyMapping, IRankFeatureProperty, IProperty, IFieldMapping
Constructors
| Edit this page View SourceRankFeatureAttribute()
Declaration
public RankFeatureAttribute()
Properties
| Edit this page View SourcePositiveScoreImpact
Rank features that correlate negatively with the score should set Positive
Declaration
public bool PositiveScoreImpact { get; set; }
Property Value
Type | Description |
---|---|
bool |