Class ElasticSearchingClient
- java.lang.Object
-
- org.exoplatform.commons.search.es.client.ElasticClient
-
- org.exoplatform.commons.search.es.client.ElasticSearchingClient
-
public class ElasticSearchingClient extends ElasticClient
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 Constructor Description ElasticSearchingClient(ElasticIndexingAuditTrail auditTrail)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected org.apache.http.conn.HttpClientConnectionManagergetClientConnectionManager()protected StringgetEsPasswordProperty()protected StringgetEsUsernameProperty()protected intgetMaxConnections()protected voidresetMaxConnections()StringsendRequest(String esQuery, String index)StringsendRequest(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 Detail
-
ElasticSearchingClient
public ElasticSearchingClient(ElasticIndexingAuditTrail auditTrail)
-
-
Method Detail
-
sendRequest
@Deprecated public String sendRequest(String esQuery, String index, String type)
Deprecated.No need to ES Type anymore, this method will be removed shortly- Parameters:
esQuery-index-type-- Returns:
-
getEsUsernameProperty
protected String getEsUsernameProperty()
- Specified by:
getEsUsernamePropertyin classElasticClient
-
getEsPasswordProperty
protected String 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()
-
-