public class ElasticSearchIndexConfig extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
create |
static String |
DEFAULT_MAPPING |
static String |
DEFAULT_SETTING |
protected String[] |
excludes |
protected String[] |
includes |
protected boolean |
isEnabled |
protected String |
mapping |
protected String |
name |
protected String |
repositoryName |
protected String |
settings |
protected String |
type |
Constructor and Description |
---|
ElasticSearchIndexConfig() |
Modifier and Type | Method and Description |
---|---|
String[] |
getExcludes() |
String[] |
getIncludes() |
String |
getMapping() |
String |
getName() |
String |
getRepositoryName() |
String |
getSettings() |
String |
getType() |
boolean |
isDocumentIndex()
Return true if the index/mapping is associated with a Nuxeo document repository
|
boolean |
isEnabled() |
void |
merge(ElasticSearchIndexConfig other)
Use
other mapping and settings if not defined. |
boolean |
mustCreate() |
void |
setEnabled(boolean isEnabled) |
String |
toString() |
protected boolean isEnabled
protected String repositoryName
protected boolean create
public static final String DEFAULT_SETTING
public static final String DEFAULT_MAPPING
public ElasticSearchIndexConfig()
public String[] getExcludes()
public String[] getIncludes()
public String getSettings()
public String getMapping()
public boolean mustCreate()
public String getRepositoryName()
public boolean isEnabled()
public void setEnabled(boolean isEnabled)
public boolean isDocumentIndex()
public void merge(ElasticSearchIndexConfig other)
other
mapping and settings if not defined.Copyright © 2015 Nuxeo SA. All rights reserved.