The period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
To indicate that the request should never timeout, set it to -1.
The period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
To indicate that the request should never timeout, set it to -1.
POST _slm/start
resp = client.slm.start()
const response = await client.slm.start();
response = client.slm.start
$resp = $client->slm()->start();
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_slm/start"
client.slm().start(s -> s);
{
"acknowledged": true
}