Difference between revisions of "Elasticsearch update index settings"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
   "index" : {
 
   "index" : {
 
     "[[number_of_replicas]]" : 2
 
     "[[number_of_replicas]]" : 2
 +
  }
 +
}
 +
 +
PUT /my-index-000001/_settings
 +
{
 +
  "index" : {
 +
    "[[number_of_replicas]]" : 0
 
   }
 
   }
 
  }
 
  }
Line 13: Line 20:
 
=== Disk [[Watermark]] ===
 
=== Disk [[Watermark]] ===
 
  {{Update watermark}}
 
  {{Update watermark}}
 +
 +
 +
=== fields.limit ===
 +
PUT test_index/_settings
 +
{
 +
  "[[index.mapping.]]total_fields.limit": 2000
 +
}
  
 
== Relatated ==
 
== Relatated ==
 
* [[Elasticsearch index]]
 
* [[Elasticsearch index]]
 
* [[Low disk watermark]]
 
* [[Low disk watermark]]
 +
* <code>[[/_cat/indices]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 15:48, 27 December 2022

Advertising: