Package org.exoplatform.wiki.jpa.search
Class WikiPageIndexingServiceConnector
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.search.index.IndexingServiceConnector
-
- org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
-
- org.exoplatform.wiki.jpa.search.WikiPageIndexingServiceConnector
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class WikiPageIndexingServiceConnector extends org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnectorCreated by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com 9/9/15
-
-
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 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.Documentcreate(String id)List<String>getAllIds(int offset, int limit)StringgetConnectorName()StringgetMapping()org.exoplatform.commons.search.domain.Documentupdate(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
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
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:
getMappingin classorg.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
-
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
-
getConnectorName
public String getConnectorName()
- Specified by:
getConnectorNamein classorg.exoplatform.commons.search.index.IndexingServiceConnector
-
-