Interface IRankFeatureProperty
A field that can index numbers so that they can later be used to boost documents in queries with a rank_feature query.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IRankFeatureProperty : IProperty, IFieldMapping
Properties
| Edit this page View SourcePositiveScoreImpact
Rank features that correlate negatively with the score should set PositiveScoreImpact to false (defaults to true). This will be used by the rank_feature query to modify the scoring formula in such a way that the score decreases with the value of the feature instead of increasing. For instance in web search, the url length is a commonly used feature which correlates negatively with scores.
Declaration
[DataMember(Name = "positive_score_impact")]
bool? PositiveScoreImpact { get; set; }
Property Value
Type | Description |
---|---|
bool? |