Class PhrasePredicateFieldStepImpl
- java.lang.Object
-
- org.hibernate.search.engine.search.predicate.dsl.impl.PhrasePredicateFieldStepImpl
-
- All Implemented Interfaces:
PhrasePredicateFieldStep<PhrasePredicateFieldMoreStep<?,?>>
public final class PhrasePredicateFieldStepImpl extends Object implements PhrasePredicateFieldStep<PhrasePredicateFieldMoreStep<?,?>>
-
-
Constructor Summary
Constructors Constructor Description PhrasePredicateFieldStepImpl(SearchPredicateDslContext<?> dslContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhrasePredicateFieldMoreStep<?,?>fields(String... fieldPaths)Target the given fields in the phrase predicate.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.engine.search.predicate.dsl.PhrasePredicateFieldStep
field
-
-
-
-
Constructor Detail
-
PhrasePredicateFieldStepImpl
public PhrasePredicateFieldStepImpl(SearchPredicateDslContext<?> dslContext)
-
-
Method Detail
-
fields
public PhrasePredicateFieldMoreStep<?,?> fields(String... fieldPaths)
Description copied from interface:PhrasePredicateFieldStepTarget the given fields in the phrase predicate.Only text fields are supported.
Equivalent to
PhrasePredicateFieldStep.field(String)followed by multiple calls toPhrasePredicateFieldMoreStep.field(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.- Specified by:
fieldsin interfacePhrasePredicateFieldStep<PhrasePredicateFieldMoreStep<?,?>>- Parameters:
fieldPaths- The paths to the index fields to apply the predicate on.- Returns:
- The next step.
- See Also:
PhrasePredicateFieldStep.field(String)
-
-