public interface MatchAllPredicateOptionsStep extends PredicateFinalStep, PredicateBoostStep<MatchAllPredicateOptionsStep>
| Modifier and Type | Method and Description |
|---|---|
MatchAllPredicateOptionsStep |
except(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
default MatchAllPredicateOptionsStep |
except(PredicateFinalStep dslFinalStep)
Add a "must not" clause based on an almost-built
SearchPredicate. |
MatchAllPredicateOptionsStep |
except(SearchPredicate searchPredicate)
Add a "must not" clause based on a previously-built
SearchPredicate, |
toPredicateboostedToMatchAllPredicateOptionsStep except(SearchPredicate searchPredicate)
SearchPredicate,
Documents matching the "must not" clause won't match the "match all" predicate.
searchPredicate - The predicate that must not match.this, for method chaining.default MatchAllPredicateOptionsStep except(PredicateFinalStep dslFinalStep)
SearchPredicate.
Documents matching the "must not" clause won't match the "match all" predicate.
dslFinalStep - A final step in the predicate DSL allowing the retrieval of a SearchPredicate.this, for method chaining.MatchAllPredicateOptionsStep except(Function<? super SearchPredicateFactory,? extends PredicateFinalStep> clauseContributor)
Best used with lambda expressions.
Documents matching the "must not" clause won't match the "match all" predicate.
clauseContributor - A function that will use the factory passed in parameter to create a predicate,
returning the final step in the predicate DSL.
Should generally be a lambda expression.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.