Package org.elasticsearch.indices
Class SystemIndexDescriptor.Builder
java.lang.Object
org.elasticsearch.indices.SystemIndexDescriptor.Builder
- Enclosing class:
- SystemIndexDescriptor
public static class SystemIndexDescriptor.Builder
extends java.lang.Object
Provides a fluent API for building a
SystemIndexDescriptor
. Validation still happens in that class.-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
setIndexPattern
-
setPrimaryIndex
-
setDescription
-
setMappings
public SystemIndexDescriptor.Builder setMappings(org.elasticsearch.common.xcontent.XContentBuilder mappingsBuilder) -
setMappings
-
setSettings
-
setAliasName
-
setIndexFormat
-
setVersionMetaKey
-
setOrigin
-
setIndexType
Deprecated.Index types are going away over the next two major releases. New system indices should accept the default, which isMapperService.SINGLE_MAPPING_NAME
. -
setMinimumNodeVersion
-
build
Builds aSystemIndexDescriptor
using the fields supplied to this builder.- Returns:
- a populated descriptor.
-