ElasticSearchClient
class ElasticSearchClient
Class to get Elasticsearch connection. Also used to set and get "index" and "type" in Elasticsearch
Methods
void
setIndex(string $index)
Set Index to Use in Elasticsearch.
void
setType(string $type)
Set Type to use in Elasticsearch
index
getIndex()
Get Index to use in Elasticsearch.
type
getType()
Get Type to use in Elasticsearch.
ClientBuilder
getClient()
Get Elasticsearch Client.
Details
at line 23
void
setIndex(string $index)
Set Index to Use in Elasticsearch.
at line 34
void
setType(string $type)
Set Type to use in Elasticsearch
at line 44
index
getIndex()
Get Index to use in Elasticsearch.
at line 54
type
getType()
Get Type to use in Elasticsearch.
at line 64
ClientBuilder
getClient()
Get Elasticsearch Client.