Interface MatchPredicateFieldMoreStep<S extends MatchPredicateFieldMoreStep<?,N>,N extends MatchPredicateOptionsStep<?>>
-
- Type Parameters:
S
- The "self" type (the actual exposed type of this step).N
- The type of the next step.
- All Superinterfaces:
MatchPredicateMatchingStep<N>
,MultiFieldPredicateFieldBoostStep<S>
public interface MatchPredicateFieldMoreStep<S extends MatchPredicateFieldMoreStep<?,N>,N extends MatchPredicateOptionsStep<?>> extends MatchPredicateMatchingStep<N>, MultiFieldPredicateFieldBoostStep<S>
The step in a "match" predicate definition where the value to match can be set (see the superinterfaceMatchPredicateMatchingStep
), or optional parameters for the last targeted field(s) can be set, or more target fields can be added.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S
field(String fieldPath)
Target the given field in the match predicate, as an alternative to the already-targeted fields.S
fields(String... fieldPaths)
Target the given fields in the match predicate, as an alternative to the already-targeted fields.-
Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.MatchPredicateMatchingStep
matching, matching
-
Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.MultiFieldPredicateFieldBoostStep
boost
-
-
-
-
Method Detail
-
field
default S field(String fieldPath)
Target the given field in the match predicate, as an alternative to the already-targeted fields.See
MatchPredicateFieldStep.field(String)
for more information about targeting fields.- Parameters:
fieldPath
- The path to the index field to apply the predicate on.- Returns:
- The next step.
- See Also:
MatchPredicateFieldStep.field(String)
-
fields
S fields(String... fieldPaths)
Target the given fields in the match predicate, as an alternative to the already-targeted fields.See
MatchPredicateFieldStep.fields(String...)
for more information about targeting fields.- Parameters:
fieldPaths
- The paths to the index fields to apply the predicate on.- Returns:
- The next step.
- See Also:
MatchPredicateFieldStep.fields(String...)
-
-