Class TaskIndexingServiceConnector

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.search.index.IndexingServiceConnector
org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
org.exoplatform.task.storage.search.TaskIndexingServiceConnector
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class TaskIndexingServiceConnector extends org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector

    currentIndex, indexAlias, mapping, previousIndex, previousIndices, reindexOnUpgrade, 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
    TaskIndexingServiceConnector(org.exoplatform.container.xml.InitParams initParams, TaskService taskService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.commons.search.domain.Document
     
    getAllIds(int offset, int limit)
     
     
     
    org.exoplatform.commons.search.domain.Document
     

    Methods inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector

    delete, getAttachmentProcessor, getCurrentIndex, getIndexAlias, getPipelineName, getPreviousIndex, getPreviousIndices, getReindexPipelineName, getReplicas, getShards, isNeedIngestPipeline, isReindexOnUpgrade, setPreviousIndex, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • TaskIndexingServiceConnector

      public TaskIndexingServiceConnector(org.exoplatform.container.xml.InitParams initParams, TaskService taskService)
  • Method Details

    • getConnectorName

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

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

      public org.exoplatform.commons.search.domain.Document update(String s)
      Specified by:
      update 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
    • getMapping

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