Class IndexSettings

java.lang.Object
org.opensearch.client.opensearch.indices.IndexSettings
All Implemented Interfaces:
ToJsonp
Direct Known Subclasses:
IndexSettingsBody

public class IndexSettings
extends java.lang.Object
implements ToJsonp
  • Field Details

  • Constructor Details

  • Method Details

    • numberOfShards

      @Nullable public jakarta.json.JsonValue numberOfShards()
      server_default 1 API name: number_of_shards
    • numberOfReplicas

      @Nullable public jakarta.json.JsonValue numberOfReplicas()
      server_default 0 API name: number_of_replicas
    • numberOfRoutingShards

      @Nullable public java.lang.Number numberOfRoutingShards()
      API name: number_of_routing_shards
    • checkOnStartup

      @Nullable public jakarta.json.JsonValue checkOnStartup()
      API name: check_on_startup
    • codec

      @Nullable public java.lang.String codec()
      API name: codec
    • routingPartitionSize

      @Nullable public jakarta.json.JsonValue routingPartitionSize()
      server_default 1 API name: routing_partition_size
    • softDeletes_retentionLease_period

      @Nullable public jakarta.json.JsonValue softDeletes_retentionLease_period()
      API name: soft_deletes.retention_lease.period
    • loadFixedBitsetFiltersEagerly

      @Nullable public java.lang.Boolean loadFixedBitsetFiltersEagerly()
      API name: load_fixed_bitset_filters_eagerly
    • hidden

      @Nullable public jakarta.json.JsonValue hidden()
      server_default false API name: hidden
    • autoExpandReplicas

      @Nullable public java.lang.String autoExpandReplicas()
      API name: auto_expand_replicas
    • search_idle_after

      @Nullable public jakarta.json.JsonValue search_idle_after()
      API name: search.idle.after
    • refreshInterval

      @Nullable public jakarta.json.JsonValue refreshInterval()
      API name: refresh_interval
    • maxResultWindow

      @Nullable public java.lang.Number maxResultWindow()
      API name: max_result_window
    • maxInnerResultWindow

      @Nullable public java.lang.Number maxInnerResultWindow()
      API name: max_inner_result_window
    • maxRescoreWindow

      @Nullable public java.lang.Number maxRescoreWindow()
      API name: max_rescore_window
    • maxDocvalueFieldsSearch

      @Nullable public java.lang.Number maxDocvalueFieldsSearch()
      API name: max_docvalue_fields_search
    • maxScriptFields

      @Nullable public java.lang.Number maxScriptFields()
      API name: max_script_fields
    • maxNgramDiff

      @Nullable public java.lang.Number maxNgramDiff()
      API name: max_ngram_diff
    • maxShingleDiff

      @Nullable public java.lang.Number maxShingleDiff()
      API name: max_shingle_diff
    • blocks

      @Nullable public IndexSettingBlocks blocks()
      API name: blocks
    • maxRefreshListeners

      @Nullable public java.lang.Number maxRefreshListeners()
      API name: max_refresh_listeners
    • analyze_maxTokenCount

      @Nullable public java.lang.Number analyze_maxTokenCount()
      API name: analyze.max_token_count
    • highlight_maxAnalyzedOffset

      @Nullable public java.lang.Number highlight_maxAnalyzedOffset()
      API name: highlight.max_analyzed_offset
    • maxTermsCount

      @Nullable public java.lang.Number maxTermsCount()
      API name: max_terms_count
    • maxRegexLength

      @Nullable public java.lang.Number maxRegexLength()
      API name: max_regex_length
    • routing

      @Nullable public IndexRouting routing()
      API name: routing
    • gcDeletes

      @Nullable public jakarta.json.JsonValue 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
    • 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

      @Nullable public IndexVersioning version()
      API name: version
    • verifiedBeforeClose

      @Nullable public jakarta.json.JsonValue verifiedBeforeClose()
      API name: verified_before_close
    • format

      @Nullable public jakarta.json.JsonValue format()
      API name: format
    • maxSlicesPerScroll

      @Nullable public java.lang.Number maxSlicesPerScroll()
      API name: max_slices_per_scroll
    • translog_durability

      @Nullable public java.lang.String translog_durability()
      API name: translog.durability
    • queryString_lenient

      @Nullable public jakarta.json.JsonValue queryString_lenient()
      API name: query_string.lenient
    • priority

      @Nullable public jakarta.json.JsonValue priority()
      API name: priority
    • topMetricsMaxSize

      @Nullable public java.lang.Number topMetricsMaxSize()
      API name: top_metrics_max_size
    • analysis

      @Nullable public IndexSettingsAnalysis analysis()
      API name: analysis
    • toJsonp

      public void toJsonp​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      toJsonp in interface ToJsonp
    • toJsonpInternal

      protected void toJsonpInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupIndexSettingsDeserializer

      protected static <BuilderT extends IndexSettings.AbstractBuilder<BuilderT>> void setupIndexSettingsDeserializer​(DelegatingDeserializer<BuilderT> op)