public interface MatchPredicateFieldSetContext extends MultiFieldPredicateFieldSetContext<MatchPredicateFieldSetContext>
| Modifier and Type | Method and Description |
|---|---|
default MatchPredicateTerminalContext |
matching(Object value)
Require at least one of the targeted fields to match the given value.
|
MatchPredicateTerminalContext |
matching(Object value,
DslConverter dslConverter)
Require at least one of the targeted fields to match the given value.
|
default MatchPredicateFieldSetContext |
orField(String absoluteFieldPath)
Target the given field in the match predicate,
as an alternative to the already-targeted fields.
|
MatchPredicateFieldSetContext |
orFields(String... absoluteFieldPaths)
Target the given fields in the match predicate,
as an alternative to the already-targeted fields.
|
boostedTodefault MatchPredicateFieldSetContext orField(String absoluteFieldPath)
See MatchPredicateContext.onField(String) for more information about targeting fields.
absoluteFieldPath - The absolute path (from the document root) of the targeted field.this, for method chaining.MatchPredicateContext.onField(String)MatchPredicateFieldSetContext orFields(String... absoluteFieldPaths)
See MatchPredicateContext.onFields(String...) for more information about targeting fields.
absoluteFieldPaths - The absolute paths (from the document root) of the targeted fields.this, for method chaining.MatchPredicateContext.onFields(String...)default MatchPredicateTerminalContext matching(Object value)
This method will apply DSL converters to value before Hibernate Search attempts to interpret it as a field value.
See DslConverter.ENABLED.
value - The value to match.
The signature of this method defines this parameter as an Object,
but a specific type is expected depending on the targeted field.
See DslConverter.ENABLED for more information.matching(Object, DslConverter)MatchPredicateTerminalContext matching(Object value, DslConverter dslConverter)
value - The value to match.
The signature of this method defines this parameter as an Object,
but a specific type is expected depending on the targeted field and on the dslConverter parameter.
See DslConverter for more information.dslConverter - Controls how the value should be converted before Hibernate Search attempts to interpret it as a field value.
See DslConverter for more information.DslConverterCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.