N - The type of the next step (returned by MinimumShouldMatchMoreStep.end()).public interface MinimumShouldMatchRequireStep<N>
| Modifier and Type | Method and Description |
|---|---|
MinimumShouldMatchMoreStep<N> |
thenRequireNumber(int matchingClausesNumber)
|
MinimumShouldMatchMoreStep<N> |
thenRequirePercent(int matchingClausesPercent)
|
MinimumShouldMatchMoreStep<N> thenRequireNumber(int matchingClausesNumber)
matchingClausesNumber - A definition of the number of "should" clauses that have to match.
If positive, it is the number of clauses that have to match.
See Definition of the minimum
for details and possible values, in particular negative values.MinimumShouldMatchMoreStep<N> thenRequirePercent(int matchingClausesPercent)
matchingClausesPercent - A definition of the number of "should" clauses that have to match, as a percentage.
If positive, it is the percentage of the total number of "should" clauses that have to match.
See Definition of the minimum
for details and possible values, in particular negative values.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.