public interface PhrasePredicateFieldSetContext extends MultiFieldPredicateFieldSetContext<PhrasePredicateFieldSetContext>
| Modifier and Type | Method and Description |
|---|---|
PhrasePredicateTerminalContext |
matching(String phrase)
Require at least one of the targeted fields to match the given phrase.
|
default PhrasePredicateFieldSetContext |
orField(String absoluteFieldPath)
Target the given field in the phrase predicate,
as an alternative to the already-targeted fields.
|
PhrasePredicateFieldSetContext |
orFields(String... absoluteFieldPaths)
Target the given fields in the phrase predicate,
as an alternative to the already-targeted fields.
|
boostedTodefault PhrasePredicateFieldSetContext orField(String absoluteFieldPath)
Only text fields are supported.
See PhrasePredicateContext.onField(String) for more information on targeted fields.
absoluteFieldPath - The absolute path (from the document root) of the targeted field.this, for method chaining.PhrasePredicateContext.onField(String)PhrasePredicateFieldSetContext orFields(String... absoluteFieldPaths)
Only text fields are supported.
See PhrasePredicateContext.onFields(String...) for more information on targeted fields.
absoluteFieldPaths - The absolute paths (from the document root) of the targeted fields.this, for method chaining.PhrasePredicateContext.onFields(String...)PhrasePredicateTerminalContext matching(String phrase)
phrase - The phrase to match.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.