Package | Description |
---|---|
org.hibernate.search.engine.search.dsl.predicate | |
org.hibernate.search.engine.search.dsl.predicate.spi |
Modifier and Type | Method and Description |
---|---|
BooleanJunctionPredicateContext |
SearchPredicateFactoryContext.bool()
Match documents if they match a combination of boolean clauses.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.filter(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "filter" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.filter(SearchPredicate searchPredicate)
Add a "filter" clause based on a previously-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.filter(SearchPredicateTerminalContext terminalContext)
Add a "filter" clause based on an almost-built
SearchPredicate . |
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.minimumShouldMatch(Consumer<? super MinimumShouldMatchContext<?>> constraintContributor)
Start defining the minimum number of "should" constraints that have to match
in order for the boolean predicate to match.
|
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.minimumShouldMatchNumber(int matchingClausesNumber)
Add a default "minimumShouldMatch" constraint.
|
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.minimumShouldMatchPercent(int matchingClausesPercent)
Add a default "minimumShouldMatch" constraint.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.must(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "must" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.must(SearchPredicate searchPredicate)
Add a "must" clause based on a previously-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.must(SearchPredicateTerminalContext terminalContext)
Add a "must" clause based on an almost-built
SearchPredicate . |
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.mustNot(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "must not" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.mustNot(SearchPredicate searchPredicate)
Add a "must not" clause based on a previously-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.mustNot(SearchPredicateTerminalContext terminalContext)
Add a "must not" clause based on an almost-built
SearchPredicate . |
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.should(Function<? super SearchPredicateFactoryContext,? extends SearchPredicateTerminalContext> clauseContributor)
Add a "should" clause to be defined by the given function.
|
BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.should(SearchPredicate searchPredicate)
Add a "should" clause based on a previously-built
SearchPredicate . |
default BooleanJunctionPredicateContext |
BooleanJunctionPredicateContext.should(SearchPredicateTerminalContext terminalContext)
Add a "should" clause based on an almost-built
SearchPredicate . |
Modifier and Type | Method and Description |
---|---|
MinimumShouldMatchContext<? extends BooleanJunctionPredicateContext> |
BooleanJunctionPredicateContext.minimumShouldMatch()
Start defining the minimum number of "should" constraints that have to match
in order for the boolean predicate to match.
|
Modifier and Type | Method and Description |
---|---|
SearchPredicateTerminalContext |
SearchPredicateFactoryContext.bool(Consumer<? super BooleanJunctionPredicateContext> clauseContributor)
Match documents if they match a combination of boolean clauses,
which will be defined by the given consumer.
|
Modifier and Type | Method and Description |
---|---|
BooleanJunctionPredicateContext |
DelegatingSearchPredicateFactoryContext.bool() |
Modifier and Type | Method and Description |
---|---|
SearchPredicateTerminalContext |
DelegatingSearchPredicateFactoryContext.bool(Consumer<? super BooleanJunctionPredicateContext> clauseContributor) |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.