Class WikiPageIndexingServiceConnector

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

    public class WikiPageIndexingServiceConnector
    extends org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
    Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com 9/9/15
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String TYPE  
      • Fields inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector

        currentIndex, indexAlias, mapping, replicas, shards
      • Fields inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector

        connectorName, enable
      • Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

        desc, name
    • Constructor Summary

      Constructors 
      Constructor Description
      WikiPageIndexingServiceConnector​(org.exoplatform.container.xml.InitParams initParams, PageDAO dao, org.exoplatform.social.metadata.MetadataService metadataService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.exoplatform.commons.search.domain.Document create​(String id)  
      List<String> getAllIds​(int offset, int limit)  
      String getConnectorName()  
      String getMapping()  
      org.exoplatform.commons.search.domain.Document update​(String id)  
      • Methods inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector

        delete, getAttachmentProcessor, getCurrentIndex, getIndexAlias, getPipelineName, getReplicas, getShards, isNeedIngestPipeline, setReplicas, setShards
      • Methods inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector

        isEnable, setEnable
      • Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

        getDescription, getName, setDescription, setName
    • Constructor Detail

      • WikiPageIndexingServiceConnector

        public WikiPageIndexingServiceConnector​(org.exoplatform.container.xml.InitParams initParams,
                                                PageDAO dao,
                                                org.exoplatform.social.metadata.MetadataService metadataService)
    • Method Detail

      • getMapping

        public String getMapping()
        Overrides:
        getMapping in class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
      • create

        public org.exoplatform.commons.search.domain.Document create​(String id)
        Specified by:
        create in class org.exoplatform.commons.search.index.IndexingServiceConnector
      • update

        public org.exoplatform.commons.search.domain.Document update​(String id)
        Specified by:
        update in class org.exoplatform.commons.search.index.IndexingServiceConnector
      • getConnectorName

        public String getConnectorName()
        Specified by:
        getConnectorName in class org.exoplatform.commons.search.index.IndexingServiceConnector
      • getAllIds

        public List<String> getAllIds​(int offset,
                                      int limit)
        Specified by:
        getAllIds in class org.exoplatform.commons.search.index.IndexingServiceConnector