public class ElasticSearchIndexingImpl extends Object implements ElasticSearchIndexing
Constructor and Description |
---|
ElasticSearchIndexingImpl(ElasticSearchAdminImpl esa) |
Modifier and Type | Method and Description |
---|---|
void |
indexNow(IndexingCommand cmd)
Ask to process the
IndexingCommand . |
void |
indexNow(List<IndexingCommand> cmds)
Ask to process a list of
IndexingCommand . |
boolean |
isAlreadyScheduled(IndexingCommand cmd)
{true} if a command has already been submitted for indexing.
|
void |
scheduleIndexing(IndexingCommand cmd)
Schedule indexing command and return.
|
public ElasticSearchIndexingImpl(ElasticSearchAdminImpl esa)
public void indexNow(List<IndexingCommand> cmds) throws ClientException
ElasticSearchIndexing
IndexingCommand
.
Commands list will be processed in bulk mode.
Recursive indexing is not taken in account.indexNow
in interface ElasticSearchIndexing
ClientException
public void indexNow(IndexingCommand cmd) throws ClientException
ElasticSearchIndexing
IndexingCommand
.
Recursive indexing is not taken in account.indexNow
in interface ElasticSearchIndexing
ClientException
public void scheduleIndexing(IndexingCommand cmd) throws ClientException
ElasticSearchIndexing
scheduleIndexing
in interface ElasticSearchIndexing
ClientException
public boolean isAlreadyScheduled(IndexingCommand cmd)
ElasticSearchIndexing
isAlreadyScheduled
in interface ElasticSearchIndexing
Copyright © 2014 Nuxeo SA. All rights reserved.