Class RankFeaturePropertyDescriptor<T>
A field that can index numbers so that they can later be used to boost documents in queries with a rank_feature query.
Inheritance
RankFeaturePropertyDescriptor<T>
Inherited Members
Namespace: OpenSearch .Client
Assembly: OpenSearch.Client.dll
Syntax
public class RankFeaturePropertyDescriptor<T> : PropertyDescriptorBase<RankFeaturePropertyDescriptor<T>, IRankFeatureProperty, T>, IDescriptor, IRankFeatureProperty, IProperty, IFieldMapping where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Edit this page View SourceRankFeaturePropertyDescriptor()
Declaration
public RankFeaturePropertyDescriptor()
Methods
| Edit this page View SourcePositiveScoreImpact(bool?)
Rank features that correlate negatively with the score should set Positive
Declaration
public RankFeaturePropertyDescriptor<T> PositiveScoreImpact(bool? positiveScoreImpact = true)
Parameters
Type | Name | Description |
---|---|---|
bool? | positiveScoreImpact |
Returns
Type | Description |
---|---|
Rank |