Class IndexSettings
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexSettings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class IndexSettings extends java.lang.Object implements JsonpSerializable
-
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
-
Constructor Summary
Constructors Constructor Description IndexSettings(IndexSettings.Builder builder)
IndexSettings(java.util.function.Function<IndexSettings.Builder,IndexSettings.Builder> fn)
-
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
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
java.lang.String
gcDeletes()
API name:gc_deletes
java.lang.Boolean
hidden()
API name:hidden
java.lang.Integer
highlightMaxAnalyzedOffset()
API name:highlight.max_analyzed_offset
IndexSettingsLifecycle
lifecycle()
API name:lifecycle
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.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
java.lang.String
priority()
API name:priority
java.lang.String
providedName()
API name:provided_name
java.lang.Boolean
queryStringLenient()
API name:query_string.lenient
java.lang.String
refreshInterval()
API name:refresh_interval
IndexRouting
routing()
API name:routing
java.lang.String
routingPartitionSize()
API name:routing_partition_size
java.lang.String
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)
protected static void
setupIndexSettingsDeserializer(DelegatingDeserializer<IndexSettings.Builder> op)
java.lang.String
softDeletesRetentionLeasePeriod()
API name:soft_deletes.retention_lease.period
java.lang.Integer
topMetricsMaxSize()
API name:top_metrics_max_size
java.lang.String
translogDurability()
API name:translog.durability
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
-
-
Constructor Details
-
IndexSettings
-
IndexSettings
-
-
Method Details
-
numberOfShards
@Nullable public java.lang.String numberOfShards()API name:number_of_shards
-
numberOfReplicas
@Nullable public java.lang.String numberOfReplicas()API name:number_of_replicas
-
numberOfRoutingShards
@Nullable public java.lang.Integer numberOfRoutingShards()API name:number_of_routing_shards
-
checkOnStartup
API name:check_on_startup
-
codec
@Nullable public java.lang.String codec()API name:codec
-
routingPartitionSize
@Nullable public java.lang.String routingPartitionSize()API name:routing_partition_size
-
softDeletesRetentionLeasePeriod
@Nullable public java.lang.String softDeletesRetentionLeasePeriod()API name:soft_deletes.retention_lease.period
-
loadFixedBitsetFiltersEagerly
@Nullable public java.lang.Boolean loadFixedBitsetFiltersEagerly()API name:load_fixed_bitset_filters_eagerly
-
autoExpandReplicas
@Nullable public java.lang.String autoExpandReplicas()API name:auto_expand_replicas
-
searchIdleAfter
@Nullable public java.lang.String searchIdleAfter()API name:search.idle.after
-
refreshInterval
@Nullable public java.lang.String refreshInterval()API name:refresh_interval
-
maxResultWindow
@Nullable public java.lang.Integer maxResultWindow()API name:max_result_window
-
maxInnerResultWindow
@Nullable public java.lang.Integer maxInnerResultWindow()API name:max_inner_result_window
-
maxRescoreWindow
@Nullable public java.lang.Integer maxRescoreWindow()API name:max_rescore_window
-
maxDocvalueFieldsSearch
@Nullable public java.lang.Integer maxDocvalueFieldsSearch()API name:max_docvalue_fields_search
-
maxScriptFields
@Nullable public java.lang.Integer maxScriptFields()API name:max_script_fields
-
maxNgramDiff
@Nullable public java.lang.Integer maxNgramDiff()API name:max_ngram_diff
-
maxShingleDiff
@Nullable public java.lang.Integer maxShingleDiff()API name:max_shingle_diff
-
blocks
API name:blocks
-
maxRefreshListeners
@Nullable public java.lang.Integer maxRefreshListeners()API name:max_refresh_listeners
-
analyzeMaxTokenCount
@Nullable public java.lang.Integer analyzeMaxTokenCount()API name:analyze.max_token_count
-
highlightMaxAnalyzedOffset
@Nullable public java.lang.Integer highlightMaxAnalyzedOffset()API name:highlight.max_analyzed_offset
-
maxTermsCount
@Nullable public java.lang.Integer maxTermsCount()API name:max_terms_count
-
maxRegexLength
@Nullable public java.lang.Integer maxRegexLength()API name:max_regex_length
-
routing
API name:routing
-
gcDeletes
@Nullable public java.lang.String gcDeletes()API name:gc_deletes
-
defaultPipeline
@Nullable public java.lang.String defaultPipeline()API name:default_pipeline
-
finalPipeline
@Nullable public java.lang.String finalPipeline()API name:final_pipeline
-
lifecycle
API name:lifecycle
-
providedName
@Nullable public java.lang.String providedName()API name:provided_name
-
creationDate
@Nullable public java.lang.String creationDate()API name:creation_date
-
uuid
@Nullable public java.lang.String uuid()API name:uuid
-
version
API name:version
-
verifiedBeforeClose
@Nullable public java.lang.Boolean verifiedBeforeClose()API name:verified_before_close
-
format
@Nullable public java.lang.String format()API name:format
-
maxSlicesPerScroll
@Nullable public java.lang.Integer maxSlicesPerScroll()API name:max_slices_per_scroll
-
translogDurability
@Nullable public java.lang.String translogDurability()API name:translog.durability
-
queryStringLenient
@Nullable public java.lang.Boolean queryStringLenient()API name:query_string.lenient
-
priority
@Nullable public java.lang.String priority()API name:priority
-
topMetricsMaxSize
@Nullable public java.lang.Integer topMetricsMaxSize()API name:top_metrics_max_size
-
analysis
API name:analysis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexSettingsDeserializer
protected static void setupIndexSettingsDeserializer(DelegatingDeserializer<IndexSettings.Builder> op)
-