S - The "self" type (the actual exposed type of this step)public interface PredicateScoreStep<S> extends PredicateBoostStep<S>
| Modifier and Type | Method and Description |
|---|---|
S |
constantScore()
Force the score of the predicate to a single constant, identical for all documents.
|
default S |
withConstantScore()
Deprecated.
Use
constantScore() instead. |
boost, boostedToS constantScore()
By default, the score will be 1.0f,
but boosts, if any, will still be applied to the predicate.
this, for method chaining.@Deprecated default S withConstantScore()
constantScore() instead.this, for method chaining.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.