Class IndexSettings
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexSettings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexSettings extends java.lang.Object implements JsonpSerializable
- See Also:
- Documentation on elastic.co, API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexSettings.Builder
Builder forIndexSettings
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexSettings>
_DESERIALIZER
Json deserializer forIndexSettings
-
Method Summary
Modifier and Type Method Description IndexSettingsAnalysis
analysis()
API name:analysis
java.lang.Integer
analyzeMaxTokenCount()
API name:analyze.max_token_count
java.lang.String
autoExpandReplicas()
API name:auto_expand_replicas
IndexSettingBlocks
blocks()
API name:blocks
java.lang.Boolean
blocksMetadata()
API name:blocks.metadata
java.lang.Boolean
blocksRead()
API name:blocks.read
java.lang.Boolean
blocksReadOnly()
API name:blocks.read_only
java.lang.Boolean
blocksReadOnlyAllowDelete()
API name:blocks.read_only_allow_delete
java.lang.Boolean
blocksWrite()
API name:blocks.write
IndexCheckOnStartup
checkOnStartup()
API name:check_on_startup
java.lang.String
codec()
API name:codec
java.lang.String
creationDate()
API name:creation_date
java.lang.String
defaultPipeline()
API name:default_pipeline
java.lang.String
finalPipeline()
API name:final_pipeline
java.lang.String
format()
API name:format
Time
gcDeletes()
API name:gc_deletes
java.lang.Boolean
hidden()
API name:hidden
java.lang.Integer
highlightMaxAnalyzedOffset()
API name:highlight.max_analyzed_offset
IndexSettings
index()
API name:index
IndexSettingsLifecycle
lifecycle()
API name:lifecycle
java.lang.String
lifecycleName()
API name:lifecycle.name
java.lang.Boolean
loadFixedBitsetFiltersEagerly()
API name:load_fixed_bitset_filters_eagerly
java.lang.Integer
maxDocvalueFieldsSearch()
API name:max_docvalue_fields_search
java.lang.Integer
maxInnerResultWindow()
API name:max_inner_result_window
java.lang.Integer
maxNgramDiff()
API name:max_ngram_diff
java.lang.Integer
maxRefreshListeners()
API name:max_refresh_listeners
java.lang.Integer
maxRegexLength()
API name:max_regex_length
java.lang.Integer
maxRescoreWindow()
API name:max_rescore_window
java.lang.Integer
maxResultWindow()
API name:max_result_window
java.lang.Integer
maxScriptFields()
API name:max_script_fields
java.lang.Integer
maxShingleDiff()
API name:max_shingle_diff
java.lang.Integer
maxSlicesPerScroll()
API name:max_slices_per_scroll
java.lang.Integer
maxTermsCount()
API name:max_terms_count
java.lang.Integer
mergeSchedulerMaxThreadCount()
API name:merge.scheduler.max_thread_count
java.lang.String
mode()
API name:mode
java.lang.String
numberOfReplicas()
API name:number_of_replicas
java.lang.Integer
numberOfRoutingShards()
API name:number_of_routing_shards
java.lang.String
numberOfShards()
API name:number_of_shards
static IndexSettings
of(java.util.function.Function<IndexSettings.Builder,ObjectBuilder<IndexSettings>> fn)
java.lang.String
priority()
API name:priority
java.lang.String
providedName()
API name:provided_name
java.lang.Boolean
queryStringLenient()
API name:query_string.lenient
Time
refreshInterval()
API name:refresh_interval
IndexRouting
routing()
API name:routing
java.lang.Integer
routingPartitionSize()
API name:routing_partition_size
java.util.List<java.lang.String>
routingPath()
API name:routing_path
Time
searchIdleAfter()
API name:search.idle.after
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
IndexSettings
settings()
API name:settings
protected static void
setupIndexSettingsDeserializer(ObjectDeserializer<IndexSettings.Builder> op)
SoftDeletes
softDeletes()
API name:soft_deletes
Time
softDeletesRetentionLeasePeriod()
API name:soft_deletes.retention_lease.period
IndexSegmentSort
sort()
API name:sort
java.lang.Integer
topMetricsMaxSize()
API name:top_metrics_max_size
java.lang.String
translogDurability()
API name:translog.durability
java.lang.String
translogFlushThresholdSize()
API name:translog.flush_threshold_size
java.lang.String
uuid()
API name:uuid
java.lang.Boolean
verifiedBeforeClose()
API name:verified_before_close
IndexVersioning
version()
API name:version
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexSettings
-
-
Method Details
-
of
public static IndexSettings of(java.util.function.Function<IndexSettings.Builder,ObjectBuilder<IndexSettings>> fn) -
index
API name:index
-
mode
@Nullable public final java.lang.String mode()API name:mode
-
routingPath
public final java.util.List<java.lang.String> routingPath()API name:routing_path
-
softDeletes
API name:soft_deletes
-
sort
API name:sort
-
numberOfShards
@Nullable public final java.lang.String numberOfShards()API name:number_of_shards
-
numberOfReplicas
@Nullable public final java.lang.String numberOfReplicas()API name:number_of_replicas
-
numberOfRoutingShards
@Nullable public final java.lang.Integer numberOfRoutingShards()API name:number_of_routing_shards
-
checkOnStartup
API name:check_on_startup
-
codec
@Nullable public final java.lang.String codec()API name:codec
-
routingPartitionSize
@Nullable public final java.lang.Integer routingPartitionSize()API name:routing_partition_size
-
softDeletesRetentionLeasePeriod
API name:soft_deletes.retention_lease.period
-
loadFixedBitsetFiltersEagerly
@Nullable public final java.lang.Boolean loadFixedBitsetFiltersEagerly()API name:load_fixed_bitset_filters_eagerly
-
autoExpandReplicas
@Nullable public final java.lang.String autoExpandReplicas()API name:auto_expand_replicas
-
mergeSchedulerMaxThreadCount
@Nullable public final java.lang.Integer mergeSchedulerMaxThreadCount()API name:merge.scheduler.max_thread_count
-
searchIdleAfter
API name:search.idle.after
-
refreshInterval
API name:refresh_interval
-
maxResultWindow
@Nullable public final java.lang.Integer maxResultWindow()API name:max_result_window
-
maxInnerResultWindow
@Nullable public final java.lang.Integer maxInnerResultWindow()API name:max_inner_result_window
-
maxRescoreWindow
@Nullable public final java.lang.Integer maxRescoreWindow()API name:max_rescore_window
-
maxDocvalueFieldsSearch
@Nullable public final java.lang.Integer maxDocvalueFieldsSearch()API name:max_docvalue_fields_search
-
maxScriptFields
@Nullable public final java.lang.Integer maxScriptFields()API name:max_script_fields
-
maxNgramDiff
@Nullable public final java.lang.Integer maxNgramDiff()API name:max_ngram_diff
-
maxShingleDiff
@Nullable public final java.lang.Integer maxShingleDiff()API name:max_shingle_diff
-
blocks
API name:blocks
-
blocksReadOnly
@Nullable public final java.lang.Boolean blocksReadOnly()API name:blocks.read_only
-
blocksReadOnlyAllowDelete
@Nullable public final java.lang.Boolean blocksReadOnlyAllowDelete()API name:blocks.read_only_allow_delete
-
blocksRead
@Nullable public final java.lang.Boolean blocksRead()API name:blocks.read
-
blocksWrite
@Nullable public final java.lang.Boolean blocksWrite()API name:blocks.write
-
blocksMetadata
@Nullable public final java.lang.Boolean blocksMetadata()API name:blocks.metadata
-
maxRefreshListeners
@Nullable public final java.lang.Integer maxRefreshListeners()API name:max_refresh_listeners
-
analyzeMaxTokenCount
@Nullable public final java.lang.Integer analyzeMaxTokenCount()API name:analyze.max_token_count
-
highlightMaxAnalyzedOffset
@Nullable public final java.lang.Integer highlightMaxAnalyzedOffset()API name:highlight.max_analyzed_offset
-
maxTermsCount
@Nullable public final java.lang.Integer maxTermsCount()API name:max_terms_count
-
maxRegexLength
@Nullable public final java.lang.Integer maxRegexLength()API name:max_regex_length
-
routing
API name:routing
-
gcDeletes
API name:gc_deletes
-
defaultPipeline
@Nullable public final java.lang.String defaultPipeline()API name:default_pipeline
-
finalPipeline
@Nullable public final java.lang.String finalPipeline()API name:final_pipeline
-
lifecycle
API name:lifecycle
-
lifecycleName
@Nullable public final java.lang.String lifecycleName()API name:lifecycle.name
-
providedName
@Nullable public final java.lang.String providedName()API name:provided_name
-
creationDate
@Nullable public final java.lang.String creationDate()API name:creation_date
-
uuid
@Nullable public final java.lang.String uuid()API name:uuid
-
version
API name:version
-
verifiedBeforeClose
@Nullable public final java.lang.Boolean verifiedBeforeClose()API name:verified_before_close
-
format
@Nullable public final java.lang.String format()API name:format
-
maxSlicesPerScroll
@Nullable public final java.lang.Integer maxSlicesPerScroll()API name:max_slices_per_scroll
-
translogDurability
@Nullable public final java.lang.String translogDurability()API name:translog.durability
-
translogFlushThresholdSize
@Nullable public final java.lang.String translogFlushThresholdSize()API name:translog.flush_threshold_size
-
queryStringLenient
@Nullable public final java.lang.Boolean queryStringLenient()API name:query_string.lenient
-
priority
@Nullable public final java.lang.String priority()API name:priority
-
topMetricsMaxSize
@Nullable public final java.lang.Integer topMetricsMaxSize()API name:top_metrics_max_size
-
analysis
API name:analysis
-
settings
API name:settings
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexSettingsDeserializer
-