Class RuleIndexingServiceConnector

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.search.index.IndexingServiceConnector
org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
io.meeds.gamification.search.RuleIndexingServiceConnector
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

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

    currentIndex, indexAlias, mapping, previousIndex, 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
    RuleIndexingServiceConnector(RuleStorage ruleStorage, io.meeds.social.translation.service.TranslationService translationService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.container.xml.InitParams initParams)
     
  • 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, getMapping, getPipelineName, getPreviousIndex, 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

    • RuleIndexingServiceConnector

      public RuleIndexingServiceConnector(RuleStorage ruleStorage, io.meeds.social.translation.service.TranslationService translationService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.social.metadata.MetadataService metadataService, org.exoplatform.container.xml.InitParams initParams)
  • 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 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
    • getAllIds

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