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 Details

  • 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 SOLR
      resourceManager - Manager d'accès aux ressources
      envIndex - Nom de l'index de l'environment
      envIndexIsPrefix - Si Nom de l'index de l'environment est un prefix
      rowsPerQuery - Nombre d'élément retourné par query
      configFile - Fichier de configuration des indexs
  • Method Details

    • start

      public void start()
      Specified by:
      start in interface io.vertigo.core.node.component.Activeable
    • stop

      public void stop()
      Specified by:
      stop in interface io.vertigo.core.node.component.Activeable