"; ?> ".$es_index." exists
"; $params = [ 'index' => $es_index, ]; try { $response = $client->indices()->delete($params); echo "Index ".$es_index." exists. it will be deleted
"; //echo "".$es_index." deleted"; } catch (Exception $e) { echo $e; }