Difference between revisions of "Elasticsearch update index settings"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
   "index" : {
 
   "index" : {
 
     "[[number_of_replicas]]" : 2
 
     "[[number_of_replicas]]" : 2
 +
  }
 +
}
 +
 +
PUT /my-index-000001/_settings
 +
{
 +
  "index" : {
 +
    "[[number_of_replicas]]" : 0
 
   }
 
   }
 
  }
 
  }

Revision as of 08:31, 20 October 2022

Advertising: