public class ElasticsearchBulkUpdater extends Object implements BulkUpdater
| Constructor and Description |
|---|
ElasticsearchBulkUpdater(org.elasticsearch.client.Client client) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SearchDocument doc) |
void |
delete(SearchDocument doc) |
void |
end() |
void |
update(SearchDocument doc) |
public ElasticsearchBulkUpdater(org.elasticsearch.client.Client client)
public void add(SearchDocument doc) throws IOException
add in interface BulkUpdaterIOExceptionpublic void update(SearchDocument doc) throws IOException
update in interface BulkUpdaterIOExceptionpublic void delete(SearchDocument doc) throws IOException
delete in interface BulkUpdaterIOExceptionpublic void end()
throws IOException
end in interface BulkUpdaterIOExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.