public class ElasticsearchBinaryFileBatchIndexer extends AbstractBinaryFileBatchIndexer
AbstractBinaryFileBatchIndexer for Elasticsearch| Modifier and Type | Field and Description |
|---|---|
protected ElasticsearchService |
elasticsearchService
Elasticsearch service
|
maxFileSize, mimeTypesMap, supportedMimeTypesexcludePathPatterns, includePathPatternsmetadataExtractors| Constructor and Description |
|---|
ElasticsearchBinaryFileBatchIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(String indexId,
String siteName,
String path,
UpdateStatus updateStatus) |
protected void |
doUpdateContent(String indexId,
String siteName,
String path,
org.craftercms.core.service.Content binaryContent,
UpdateDetail updateDetail,
UpdateStatus updateStatus,
Map<String,String> metadata) |
void |
setElasticsearchService(ElasticsearchService elasticsearchService) |
doSingleFileUpdate, include, setMaxFileSize, setSupportedMimeTypessetExcludePathPatterns, setIncludePathPatterns, updateIndexcollectMetadata, setMetadataExtractorsprotected ElasticsearchService elasticsearchService
public void setElasticsearchService(ElasticsearchService elasticsearchService)
protected void doDelete(String indexId, String siteName, String path, UpdateStatus updateStatus)
doDelete in class AbstractBinaryFileBatchIndexerprotected void doUpdateContent(String indexId, String siteName, String path, org.craftercms.core.service.Content binaryContent, UpdateDetail updateDetail, UpdateStatus updateStatus, Map<String,String> metadata)
doUpdateContent in class AbstractBinaryFileBatchIndexerCopyright © 2022 CrafterCMS. All rights reserved.