Class ElasticIndexingServiceConnector

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin

    public abstract class ElasticIndexingServiceConnector
    extends IndexingServiceConnector
    Created by The eXo Platform SAS Author : Thibault Clement tclement@exoplatform.com 7/22/15
    • Field Detail

      • indexAlias

        protected String indexAlias
      • currentIndex

        protected String currentIndex
      • mapping

        protected String mapping
      • replicas

        protected Integer replicas
    • Constructor Detail

      • ElasticIndexingServiceConnector

        protected ElasticIndexingServiceConnector​(org.exoplatform.container.xml.InitParams initParams)
    • Method Detail

      • getMapping

        public String getMapping()
        Default mapping rules for ES index This method must be overridden by your specific connector if you want to define special mapping
        Returns:
        JSON containing a mapping to create new index
      • getCurrentIndex

        public String getCurrentIndex()
      • getIndexAlias

        public String getIndexAlias()
      • getShards

        public Integer getShards()
      • setShards

        public void setShards​(Integer shards)
      • getReplicas

        public Integer getReplicas()
      • setReplicas

        public void setReplicas​(Integer replicas)
      • isNeedIngestPipeline

        public boolean isNeedIngestPipeline()
      • getPipelineName

        public String getPipelineName()
      • getAttachmentProcessor

        public String getAttachmentProcessor()