Interface TermsPredicateFieldMoreStep<SR,S extends TermsPredicateFieldMoreStep<SR,?,N>,N extends TermsPredicateOptionsStep<?>>
- Type Parameters:
S
- The "self" type (the actual exposed type of this step).N
- The type of the next step.
- All Superinterfaces:
MultiFieldPredicateFieldBoostStep<S>
,TermsPredicateMatchingStep<N>
TermsPredicateMatchingStep
),
or optional parameters for the last targeted field(s) can be set,
or more target fields can be added.-
Method Summary
Modifier and TypeMethodDescriptiondefault S
Target the given field in the terms predicate, as an alternative to the already-targeted fields.default S
field
(TermsPredicateFieldReference<SR> fieldReference) Target the given field in the terms predicate.Target the given fields in the terms predicate, as an alternative to the already-targeted fields.default S
fields
(TermsPredicateFieldReference<SR>... fields) Target the given fields in the terms predicate.Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.MultiFieldPredicateFieldBoostStep
boost
Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.TermsPredicateMatchingStep
matchingAll, matchingAll, matchingAll, matchingAll, matchingAny, matchingAny, matchingAny, matchingAny
-
Method Details
-
field
Target the given field in the terms predicate, as an alternative to the already-targeted fields.Only text fields are supported.
See
TermsPredicateFieldStep.field(String)
for more information on targeted fields.- Parameters:
fieldPath
- The path to the index field to apply the predicate on.- Returns:
- The next step.
- See Also:
-
fields
Target the given fields in the terms predicate, as an alternative to the already-targeted fields.Only text fields are supported.
See
TermsPredicateFieldStep.fields(String...)
for more information on targeted fields.- Parameters:
fieldPaths
- The paths to the index fields to apply the predicate on.- Returns:
- The next step.
- See Also:
-
field
Target the given field in the terms predicate.Multiple fields may be targeted by the same predicate: the predicate will match if any targeted field matches.
When targeting multiple fields, those fields must have compatible types. Please refer to the reference documentation for more information.
- Parameters:
fieldReference
- The field reference representing a definition of the index field to apply the predicate on.- Returns:
- The next step.
-
fields
Target the given fields in the terms predicate.Only text fields are supported.
Equivalent to
field(String)
followed by multiple calls tofield(String)
, the only difference being that calls toMultiFieldPredicateFieldBoostStep.boost(float)
and other field-specific settings on the returned step will only need to be done once and will apply to all the fields passed to this method.- Parameters:
fields
- The field references representing paths to the index fields to apply the predicate on.- Returns:
- The next step.
- See Also:
-