public abstract class ElasticIndexingServiceConnector extends IndexingServiceConnector
| Modifier and Type | Field and Description |
|---|---|
protected String |
index |
protected Integer |
replicas |
protected Integer |
shards |
| Constructor and Description |
|---|
ElasticIndexingServiceConnector(org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
String |
delete(String id)
Transform a list of entities to Document in order to be deleted from create
|
String |
getIndex() |
String |
getMapping()
Default mapping rules for ES type
{
"type_name" : {
"properties" : {
"permissions" : {"type" : "string", "index" : "not_analyzed" },
"sites" : {"type" : "string", "index" : "not_analyzed" }
}
}
}
This method must be overridden by your specific connector if you want to define special mapping
|
Integer |
getReplicas() |
Integer |
getShards() |
void |
setIndex(String index) |
void |
setReplicas(Integer replicas) |
void |
setShards(Integer shards) |
create, getAllIds, getType, isEnable, setEnable, setType, updateprotected String index
protected Integer shards
protected Integer replicas
public ElasticIndexingServiceConnector(org.exoplatform.container.xml.InitParams initParams)
public String getMapping()
public String getIndex()
public void setIndex(String index)
public Integer getShards()
public void setShards(Integer shards)
public Integer getReplicas()
public void setReplicas(Integer replicas)
public String delete(String id)
IndexingServiceConnectordelete in class IndexingServiceConnectorid - Ids of entities to delete fromCopyright © 2003–2018 eXo Platform SAS. All rights reserved.