Interface PredicateBoostStep<S>
-
- Type Parameters:
S- The "self" type (the actual exposed type of this step)
- All Known Subinterfaces:
BooleanPredicateClausesStep<S>,ExistsPredicateOptionsStep<S>,MatchAllPredicateOptionsStep<S>,MatchIdPredicateMatchingMoreStep<S,N>,MatchIdPredicateOptionsStep<S>,MatchPredicateOptionsStep<S>,PhrasePredicateOptionsStep<S>,PredicateScoreStep<S>,RangePredicateOptionsStep<S>,SimpleQueryStringPredicateOptionsStep<S>,SpatialWithinPredicateOptionsStep<S>,WildcardPredicateOptionsStep<S>
@Deprecated public interface PredicateBoostStep<S>
Deprecated.UsePredicateScoreStepinstead.The step in a predicate definition where the predicate boost can be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Sboost(float boost)Deprecated.Boost the weight of the predicate in score computation.
-
-
-
Method Detail
-
boost
S boost(float boost)
Deprecated.Boost the weight of the predicate in score computation.- Parameters:
boost- The boost factor. Higher than 1 increases the weight in score computation, between 0 and 1 lowers the weight. Lower than 0 is for experts only.- Returns:
this, for method chaining.
-
-