Class ElasticIndexingServiceConnector
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.search.index.IndexingServiceConnector
org.exoplatform.commons.search.index.impl.ElasticIndexingServiceConnector
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
Created by The eXo Platform SAS
Author : Thibault Clement
tclement@exoplatform.com
7/22/15
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Integerprotected IntegerFields inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector
connectorName, enableFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedElasticIndexingServiceConnector(org.exoplatform.container.xml.InitParams initParams) -
Method Summary
Modifier and TypeMethodDescriptionTransform a list of entities to Document in order to be deleted from createDefault mapping rules for ES index This method must be overridden by your specific connector if you want to define special mappingbooleanvoidsetReplicas(Integer replicas) voidMethods inherited from class org.exoplatform.commons.search.index.IndexingServiceConnector
create, getAllIds, getConnectorName, isEnable, setEnable, updateMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
indexAlias
-
currentIndex
-
mapping
-
shards
-
replicas
-
-
Constructor Details
-
ElasticIndexingServiceConnector
protected ElasticIndexingServiceConnector(org.exoplatform.container.xml.InitParams initParams)
-
-
Method Details
-
getMapping
Default mapping rules for ES index This method must be overridden by your specific connector if you want to define special mapping- Returns:
- JSON containing a mapping to create new index
-
getCurrentIndex
-
getIndexAlias
-
getShards
-
setShards
-
getReplicas
-
setReplicas
-
delete
Description copied from class:IndexingServiceConnectorTransform a list of entities to Document in order to be deleted from create- Specified by:
deletein classIndexingServiceConnector- Parameters:
id- Ids of entities to delete from- Returns:
- List of Ids to delete from create
-
isNeedIngestPipeline
public boolean isNeedIngestPipeline() -
getPipelineName
-
getAttachmentProcessor
-