Interface PhrasePredicateFieldMoreStep<SR,S extends PhrasePredicateFieldMoreStep<SR,?,N>,N extends PhrasePredicateOptionsStep<?>>
- Type Parameters:
SR
- Scope root type.S
- The "self" type (the actual exposed type of this step).N
- The type of the next step.
- All Superinterfaces:
MultiFieldPredicateFieldBoostStep<S>
,PhrasePredicateMatchingStep<N>
public interface PhrasePredicateFieldMoreStep<SR,S extends PhrasePredicateFieldMoreStep<SR,?,N>,N extends PhrasePredicateOptionsStep<?>>
extends PhrasePredicateMatchingStep<N>, MultiFieldPredicateFieldBoostStep<S>
The step in a "phrase" predicate definition where the phrase to match can be set
(see the superinterface
PhrasePredicateMatchingStep
),
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 phrase predicate, as an alternative to the already-targeted fields.default S
field
(PhrasePredicateFieldReference<? super SR, ?> fieldReference) Target the given field in the phrase predicate, as an alternative to the already-targeted fields.Target the given fields in the phrase predicate, as an alternative to the already-targeted fields.default S
fields
(PhrasePredicateFieldReference<? super SR, ?>... fields) Target the given fields in the phrase predicate, as an alternative to the already-targeted fields.Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.MultiFieldPredicateFieldBoostStep
boost
Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.PhrasePredicateMatchingStep
matching
-
Method Details
-
field
Target the given field in the phrase predicate, as an alternative to the already-targeted fields.Only text fields are supported.
See
PhrasePredicateFieldStep.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 phrase predicate, as an alternative to the already-targeted fields.Only text fields are supported.
See
PhrasePredicateFieldStep.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 phrase predicate, as an alternative to the already-targeted fields.Only text fields are supported.
See
PhrasePredicateFieldStep.field(PhrasePredicateFieldReference)
for more information on targeted fields.- Parameters:
fieldReference
- The field reference representing a definition of the index field to apply the predicate on.- Returns:
- The next step.
- See Also:
-
fields
Target the given fields in the phrase predicate, as an alternative to the already-targeted fields.Only text fields are supported.
See
PhrasePredicateFieldStep.fields(PhrasePredicateFieldReference...)
for more information on targeted fields.- Parameters:
fields
- The field references representing paths to the index fields to apply the predicate on.- Returns:
- The next step.
- See Also:
-