public class ElasticsearchBinaryFileBatchIndexer extends AbstractBinaryFileBatchIndexer
AbstractBinaryFileBatchIndexer
for ElasticsearchModifier and Type | Field and Description |
---|---|
protected ElasticsearchService |
elasticsearchService
Elasticsearch service
|
maxFileSize, mimeTypesMap, supportedMimeTypes
excludePathPatterns, includePathPatterns
metadataExtractors
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, setSupportedMimeTypes
setExcludePathPatterns, setIncludePathPatterns, updateIndex
collectMetadata, setMetadataExtractors
protected ElasticsearchService elasticsearchService
public void setElasticsearchService(ElasticsearchService elasticsearchService)
protected void doDelete(String indexId, String siteName, String path, UpdateStatus updateStatus)
doDelete
in class AbstractBinaryFileBatchIndexer
protected 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 AbstractBinaryFileBatchIndexer
Copyright © 2019 CrafterCMS. All rights reserved.