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 classIndexSettings.BuilderBuilder forIndexSettings. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexSettings>_DESERIALIZERJson deserializer forIndexSettings -
Method Summary
Modifier and Type Method Description IndexSettingsAnalysisanalysis()API name:analysisjava.lang.IntegeranalyzeMaxTokenCount()API name:analyze.max_token_countjava.lang.StringautoExpandReplicas()API name:auto_expand_replicasIndexSettingBlocksblocks()API name:blocksjava.lang.BooleanblocksMetadata()API name:blocks.metadatajava.lang.BooleanblocksRead()API name:blocks.readjava.lang.BooleanblocksReadOnly()API name:blocks.read_onlyjava.lang.BooleanblocksReadOnlyAllowDelete()API name:blocks.read_only_allow_deletejava.lang.BooleanblocksWrite()API name:blocks.writeIndexCheckOnStartupcheckOnStartup()API name:check_on_startupjava.lang.Stringcodec()API name:codecDateTimecreationDate()API name:creation_dateDateTimecreationDateString()API name:creation_date_stringjava.lang.StringdefaultPipeline()API name:default_pipelinejava.lang.StringfinalPipeline()API name:final_pipelinejava.lang.Stringformat()API name:formatTimegcDeletes()API name:gc_deletesjava.lang.Booleanhidden()API name:hiddenjava.lang.IntegerhighlightMaxAnalyzedOffset()API name:highlight.max_analyzed_offsetIndexSettingsindex()API name:indexIndexSettingsLifecyclelifecycle()API name:lifecyclejava.lang.StringlifecycleName()API name:lifecycle.namejava.lang.BooleanloadFixedBitsetFiltersEagerly()API name:load_fixed_bitset_filters_eagerlyjava.lang.IntegermaxDocvalueFieldsSearch()API name:max_docvalue_fields_searchjava.lang.IntegermaxInnerResultWindow()API name:max_inner_result_windowjava.lang.IntegermaxNgramDiff()API name:max_ngram_diffjava.lang.IntegermaxRefreshListeners()API name:max_refresh_listenersjava.lang.IntegermaxRegexLength()API name:max_regex_lengthjava.lang.IntegermaxRescoreWindow()API name:max_rescore_windowjava.lang.IntegermaxResultWindow()API name:max_result_windowjava.lang.IntegermaxScriptFields()API name:max_script_fieldsjava.lang.IntegermaxShingleDiff()API name:max_shingle_diffjava.lang.IntegermaxSlicesPerScroll()API name:max_slices_per_scrolljava.lang.IntegermaxTermsCount()API name:max_terms_countMergemerge()API name:mergejava.lang.Stringmode()API name:modejava.lang.StringnumberOfReplicas()API name:number_of_replicasjava.lang.IntegernumberOfRoutingShards()API name:number_of_routing_shardsjava.lang.StringnumberOfShards()API name:number_of_shardsstatic IndexSettingsof(java.util.function.Function<IndexSettings.Builder,ObjectBuilder<IndexSettings>> fn)java.lang.Stringpriority()API name:priorityjava.lang.StringprovidedName()API name:provided_nameQueriesqueries()API name:queriesjava.lang.BooleanqueryStringLenient()API name:query_string.lenientTimerefreshInterval()API name:refresh_intervalIndexRoutingrouting()API name:routingjava.lang.IntegerroutingPartitionSize()API name:routing_partition_sizejava.util.List<java.lang.String>routingPath()API name:routing_pathTimesearchIdleAfter()API name:search.idle.aftervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)IndexSettingssettings()API name:settingsprotected static voidsetupIndexSettingsDeserializer(ObjectDeserializer<IndexSettings.Builder> op)java.lang.Integershards()API name:shardsSoftDeletessoftDeletes()API name:soft_deletesjava.lang.BooleansoftDeletesEnabled()API name:soft_deletes.enabledTimesoftDeletesRetentionLeasePeriod()API name:soft_deletes.retention_lease.periodIndexSegmentSortsort()API name:sortjava.util.List<java.lang.String>sortField()API name:sort.fieldjava.util.List<SegmentSortMissing>sortMissing()API name:sort.missingjava.util.List<SegmentSortMode>sortMode()API name:sort.modejava.util.List<SegmentSortOrder>sortOrder()API name:sort.orderIndexSettingsTimeSeriestimeSeries()API name:time_seriesjava.lang.IntegertopMetricsMaxSize()API name:top_metrics_max_sizeTranslogtranslog()API name:translogjava.lang.Stringuuid()API name:uuidjava.lang.BooleanverifiedBeforeClose()API name:verified_before_closeIndexVersioningversion()API name:versionMethods 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 -
softDeletesEnabled
@Nullable public final java.lang.Boolean softDeletesEnabled()API name:soft_deletes.enabled -
softDeletesRetentionLeasePeriod
API name:soft_deletes.retention_lease.period -
sort
API name:sort -
sortField
public final java.util.List<java.lang.String> sortField()API name:sort.field -
sortOrder
API name:sort.order -
sortMode
API name:sort.mode -
sortMissing
API name:sort.missing -
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 -
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 -
merge
API name:merge -
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
API name:creation_date -
creationDateString
API name:creation_date_string -
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 -
translog
API name:translog -
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 -
timeSeries
API name:time_series -
shards
@Nullable public final java.lang.Integer shards()API name:shards -
queries
API name:queries -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupIndexSettingsDeserializer
-