Package org.exoplatform.news.search
Class NewsIndexingServiceConnector
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.search.index.IndexingServiceConnector
-
- org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
-
- org.exoplatform.news.search.NewsIndexingServiceConnector
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class NewsIndexingServiceConnector extends org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE-
Fields inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
currentIndex, indexAlias, mapping, replicas, shards
-
-
Constructor Summary
Constructors Constructor Description NewsIndexingServiceConnector(org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.container.xml.InitParams initParams, NewsService newsService, org.exoplatform.social.core.manager.ActivityManager activityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.commons.search.domain.Documentcreate(String id)List<String>getAllIds(int offset, int limit)StringgetConnectorName()org.exoplatform.commons.search.domain.Documentupdate(String id)-
Methods inherited from class org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
delete, getAttachmentProcessor, getCurrentIndex, getIndexAlias, getMapping, getPipelineName, getReplicas, getShards, isNeedIngestPipeline, setReplicas, setShards
-
Methods inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector
isEnable, setEnable
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NewsIndexingServiceConnector
public NewsIndexingServiceConnector(org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.container.xml.InitParams initParams, NewsService newsService, org.exoplatform.social.core.manager.ActivityManager activityManager)
-
-
Method Detail
-
getConnectorName
public String getConnectorName()
- Specified by:
getConnectorNamein classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
create
public org.exoplatform.commons.search.domain.Document create(String id)
- Specified by:
createin classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
update
public org.exoplatform.commons.search.domain.Document update(String id)
- Specified by:
updatein classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
-