$_name
$_name : string
Index template name.
Elastica index template object.
$_client : \Elastica\Client
Client object.
__construct(\Elastica\Client $client, string $name)
Creates a new index template object.
\Elastica\Client | $client | Client object |
string | $name | Index template name |
delete() : \Elastica\Response
Deletes the index template.
Response object
create(array $args = array()) : \Elastica\Response
Creates a new index template with the given arguments.
array | $args | OPTIONAL Arguments to use |
getClient() : \Elastica\Client
Returns index template client.
Index client object
request(string $method, array $data = array()) : \Elastica\Response
Makes calls to the elasticsearch server based on this index template name.
string | $method | Rest method to use (GET, POST, DELETE, PUT) |
array | $data | OPTIONAL Arguments as array |
Response object