1// docs/index_.asciidoc:146 2 3[source, php] 4---- 5$params = [ 6 'body' => [ 7 'persistent' => [ 8 'action.auto_create_index' => 'twitter,index10,-index1*,+ind*', 9 ], 10 ], 11]; 12$response = $client->cluster()->putSettings($params); 13$params = [ 14 'body' => [ 15 'persistent' => [ 16 'action.auto_create_index' => 'false', 17 ], 18 ], 19]; 20$response = $client->cluster()->putSettings($params); 21$params = [ 22 'body' => [ 23 'persistent' => [ 24 'action.auto_create_index' => 'true', 25 ], 26 ], 27]; 28$response = $client->cluster()->putSettings($params); 29---- 30