public class ElasticSearchIndexingService extends Object implements IIndexingService
| Constructor and Description |
|---|
ElasticSearchIndexingService(org.slf4j.Logger log,
ISearchClientProvider searchServerProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearIndex(String index) |
void |
commit(String index) |
void |
indexDocuments(String index,
String type,
Iterator<Map<String,Object>> documentIterator) |
void |
indexDocuments(String index,
String type,
List<Map<String,Object>> documents) |
public ElasticSearchIndexingService(org.slf4j.Logger log,
ISearchClientProvider searchServerProvider)
public void indexDocuments(String index, String type, Iterator<Map<String,Object>> documentIterator)
indexDocuments in interface IIndexingServicepublic void indexDocuments(String index, String type, List<Map<String,Object>> documents)
indexDocuments in interface IIndexingServicepublic void clearIndex(String index)
clearIndex in interface IIndexingServicepublic void commit(String index)
commit in interface IIndexingServiceCopyright © 2017 JULIE Lab, Germany. All rights reserved.