Class IndexSettings

All Implemented Interfaces:

public class IndexSettings
extends java.lang.Object
implements JsonpSerializable
See Also:
Documentation on, API specification
  • Field Details

  • Method Details

    • of

      public static IndexSettings of​(java.util.function.Function<IndexSettings.Builder,​ObjectBuilder<IndexSettings>> fn)
    • index

      @Nullable public final IndexSettings 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

      @Nullable public final SoftDeletes softDeletes()
      API name: soft_deletes
    • sort

      @Nullable public final IndexSegmentSort 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

      @Nullable public final IndexCheckOnStartup 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

      @Nullable public final Time softDeletesRetentionLeasePeriod()
      API name: soft_deletes.retention_lease.period
    • loadFixedBitsetFiltersEagerly

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

      @Nullable public final java.lang.Boolean hidden()
      API name: hidden
    • 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

      @Nullable public final Time searchIdleAfter()
      API name: search.idle.after
    • refreshInterval

      @Nullable public final Time 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

      @Nullable public final IndexSettingBlocks 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:
    • 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

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

      @Nullable public final Time 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

      @Nullable public final IndexSettingsLifecycle lifecycle()
      API name: lifecycle
    • lifecycleName

      @Nullable public final java.lang.String lifecycleName()
      API 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

      @Nullable public final IndexVersioning 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

      @Nullable public final IndexSettingsAnalysis analysis()
      API name: analysis
    • settings

      @Nullable public final IndexSettings settings()
      API name: settings
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupIndexSettingsDeserializer

      protected static void setupIndexSettingsDeserializer​(ObjectDeserializer<IndexSettings.Builder> op)