Class EmbeddedElasticSearchServer
java.lang.Object
io.vertigo.connectors.elasticsearch_7_17.EmbeddedElasticSearchServer
- All Implemented Interfaces:
io.vertigo.core.node.component.Activeable,io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent
public final class EmbeddedElasticSearchServer
extends Object
implements io.vertigo.core.node.component.Component, io.vertigo.core.node.component.Activeable
Gestion de la connexion au serveur ElasticSearch en mode embarqué.
- Author:
- pchretien, npiedeloup
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_VERTIGO_ES_CLUSTER_NAME
- See Also:
-
-
Constructor Details
-
EmbeddedElasticSearchServer
@Inject public EmbeddedElasticSearchServer(String elasticSearchHome, Optional<String> clusterNameOpt, Optional<Integer> httpPortOpt, Optional<Integer> transportPortOpt, io.vertigo.core.resource.ResourceManager resourceManager) Constructor.- Parameters:
elasticSearchHome- URL du serveur SOLRresourceManager- Manager d'accès aux ressourcesenvIndex- Nom de l'index de l'environmentenvIndexIsPrefix- Si Nom de l'index de l'environment est un prefixrowsPerQuery- Nombre d'élément retourné par queryconfigFile- Fichier de configuration des indexs
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceio.vertigo.core.node.component.Activeable
-
stop
public void stop()- Specified by:
stopin interfaceio.vertigo.core.node.component.Activeable
-