public interface IndexDescriptor
| Modifier and Type | Method and Description |
|---|---|
Optional<IndexFieldDescriptor> |
field(String absolutePath)
Get a field by its path.
|
String |
hibernateSearchName() |
IndexCompositeElementDescriptor |
root() |
Collection<IndexFieldDescriptor> |
staticFields()
Get all statically-defined fields for this index.
|
String hibernateSearchName()
IndexCompositeElementDescriptor root()
root element of this index.Optional<IndexFieldDescriptor> field(String absolutePath)
This method can find static fields as well as dynamic fields,
unlike staticFields().
absolutePath - An absolute, dot-separated path.Optional.empty() if no field exists with this path.Collection<IndexFieldDescriptor> staticFields()
Only statically-defined fields are returned;
fields created dynamically through templates
are not included in the collection.
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.