Interface ElasticsearchBackend
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
client(Class<T> clientClass)
Retrieve the underlying, low-level client used to communicate with the Elasticsearch cluster.
-
-
-
Method Detail
-
client
<T> T client(Class<T> clientClass)
Retrieve the underlying, low-level client used to communicate with the Elasticsearch cluster.WARNING - Unsupported API: the underlying client class may change without notice.
- Type Parameters:
T
- The expected client type- Parameters:
clientClass
- TheClass
representing the expected client type- Returns:
- The client.
- Throws:
SearchException
- if the underlying client does not implement the given class.
-
-