public class OttcElasticSearchIndexingImpl extends Object implements OttcElasticSearchIndexing
| Constructor and Description |
|---|
OttcElasticSearchIndexingImpl(OttcElasticSearchAdminImpl esa) |
OttcElasticSearchIndexingImpl(OttcElasticSearchAdminImpl esa,
org.nuxeo.ecm.automation.jaxrs.io.documents.JsonESDocumentWriter jsonESDocumentWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
indexNonRecursive(org.nuxeo.elasticsearch.commands.IndexingCommand cmd) |
void |
indexNonRecursive(List<org.nuxeo.elasticsearch.commands.IndexingCommand> cmds) |
protected void |
logBulkFailure(org.elasticsearch.action.bulk.BulkResponse response) |
protected void |
refreshIfNeeded(List<org.nuxeo.elasticsearch.commands.IndexingCommand> cmds) |
boolean |
reIndexAllDocumentsWithZeroDownTime(String repository)
Re-index all documents of given repository in Elasticsearch with zero down time.
|
void |
runIndexingWorker(List<org.nuxeo.elasticsearch.commands.IndexingCommand> cmds) |
void |
runReindexingWorker(String repositoryName,
String nxql) |
public OttcElasticSearchIndexingImpl(OttcElasticSearchAdminImpl esa)
public OttcElasticSearchIndexingImpl(OttcElasticSearchAdminImpl esa, org.nuxeo.ecm.automation.jaxrs.io.documents.JsonESDocumentWriter jsonESDocumentWriter)
public boolean reIndexAllDocumentsWithZeroDownTime(String repository) throws ReIndexingException, ReIndexingStatusException, ReIndexingStateException
reIndexAllDocumentsWithZeroDownTime in interface OttcElasticSearchIndexingReIndexingStatusExceptionReIndexingStateExceptionReIndexingExceptionpublic void runIndexingWorker(List<org.nuxeo.elasticsearch.commands.IndexingCommand> cmds)
runIndexingWorker in interface org.nuxeo.elasticsearch.api.ElasticSearchIndexingpublic void runReindexingWorker(String repositoryName, String nxql)
runReindexingWorker in interface org.nuxeo.elasticsearch.api.ElasticSearchIndexingpublic void indexNonRecursive(List<org.nuxeo.elasticsearch.commands.IndexingCommand> cmds) throws org.nuxeo.ecm.core.api.ClientException
indexNonRecursive in interface org.nuxeo.elasticsearch.api.ElasticSearchIndexingorg.nuxeo.ecm.core.api.ClientExceptionprotected void logBulkFailure(org.elasticsearch.action.bulk.BulkResponse response)
protected void refreshIfNeeded(List<org.nuxeo.elasticsearch.commands.IndexingCommand> cmds)
public void indexNonRecursive(org.nuxeo.elasticsearch.commands.IndexingCommand cmd)
throws org.nuxeo.ecm.core.api.ClientException
indexNonRecursive in interface org.nuxeo.elasticsearch.api.ElasticSearchIndexingorg.nuxeo.ecm.core.api.ClientExceptionCopyright © 2020. All rights reserved.