N - The type of the next step.public interface SimpleQueryStringPredicateFieldStep<N extends SimpleQueryStringPredicateFieldMoreStep<?,?>>
| Modifier and Type | Method and Description |
|---|---|
default N |
field(String absoluteFieldPath)
Target the given field in the simple query string predicate.
|
N |
fields(String... absoluteFieldPaths)
Target the given fields in the simple query string predicate.
|
default N field(String absoluteFieldPath)
Only text fields are supported.
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.
absoluteFieldPath - The absolute path (from the document root) of the targeted field.N fields(String... absoluteFieldPaths)
Only text fields are supported.
Equivalent to field(String) followed by multiple calls to
SimpleQueryStringPredicateFieldMoreStep.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.
absoluteFieldPaths - The absolute paths (from the document root) of the targeted fields.field(String)Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.