Interface TermsPredicateFieldStep<N extends TermsPredicateFieldMoreStep<?,?>>
- Type Parameters:
N- The type of the next step.
public interface TermsPredicateFieldStep<N extends TermsPredicateFieldMoreStep<?,?>>The initial step in a "terms" predicate definition, where the target field can be set.
fieldTarget 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.
fieldPath- The path to the index field to apply the predicate on.
- The next step.
fieldsTarget the given fields in the terms predicate.
Only text fields are supported.
field(String)followed by multiple calls to
TermsPredicateFieldMoreStep.field(String), the only difference being that calls to
MultiFieldPredicateFieldBoostStep.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.