Class ElasticSearchingClient
java.lang.Object
org.exoplatform.commons.search.es.client.ElasticClient
org.exoplatform.commons.search.es.client.ElasticSearchingClient
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com
9/14/15
-
Field Summary
Fields inherited from class org.exoplatform.commons.search.es.client.ElasticClient
auditTrail, client, DEFAULT_MAX_HTTP_POOL_CONNECTIONS, urlClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.conn.HttpClientConnectionManagerprotected Stringprotected Stringprotected intprotected voidsendRequest(String esQuery, String index) sendRequest(String esQuery, String index, String type) Deprecated.Methods inherited from class org.exoplatform.commons.search.es.client.ElasticClient
getHttpClient, initHttpClient, sendHttpDeleteRequest, sendHttpGetRequest, sendHttpHeadRequest, sendHttpPostRequest, sendHttpPutRequest
-
Constructor Details
-
ElasticSearchingClient
-
-
Method Details
-
sendRequest
Deprecated.No need to ES Type anymore, this method will be removed shortly- Parameters:
esQuery-index-type-- Returns:
-
sendRequest
-
getEsUsernameProperty
- Specified by:
getEsUsernamePropertyin classElasticClient
-
getEsPasswordProperty
- Specified by:
getEsPasswordPropertyin classElasticClient
-
getClientConnectionManager
protected org.apache.http.conn.HttpClientConnectionManager getClientConnectionManager()- Specified by:
getClientConnectionManagerin classElasticClient
-
getMaxConnections
protected int getMaxConnections()- Overrides:
getMaxConnectionsin classElasticClient
-
resetMaxConnections
protected void resetMaxConnections()
-