Interface ElasticsearchBackend
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tclient(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- TheClassrepresenting the expected client type- Returns:
- The client.
- Throws:
org.hibernate.search.util.common.SearchException- if the underlying client does not implement the given class.
-
-