S - The "self" type (the actual exposed type of this step).public interface IndexSchemaFieldTemplateOptionsStep<S extends IndexSchemaFieldTemplateOptionsStep<?>>
| Modifier and Type | Method and Description |
|---|---|
S |
matchingPathGlob(String pathGlob)
Restrict the field template to only fields whose path matches the given glob pattern.
|
S |
multiValued()
Mark the field as multi-valued.
|
S matchingPathGlob(String pathGlob)
Calling this method multiple times will only erase previously defined globs.
pathGlob - A glob pattern that paths must match.
The wildcard * can be used to represent any string.
The pattern is relative to the index schema element on which this template was created.this, for method chaining.S multiValued()
This informs the backend that this field may contain multiple values for a single parent document or object.
this, for method chaining.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.