public class ElasticsearchBinaryFileWithMetadataBatchIndexer extends AbstractBinaryFileWithMetadataBatchIndexer
AbstractBinaryFileWithMetadataBatchIndexer for ElasticsearchAbstractBinaryFileWithMetadataBatchIndexer.EmptyContent| Modifier and Type | Field and Description |
|---|---|
protected ElasticsearchService |
elasticsearchService
Elasticsearch service
|
binaryPathPatterns, childBinaryPathPatterns, DEFAULT_LOCAL_ID_FIELD_NAME, DEFAULT_METADATA_PATH_FIELD_NAME, excludeMetadataProperties, excludePropertyPatterns, includePropertyPatterns, itemProcessor, localIdFieldName, maxFileSize, metadataPathFieldName, metadataPathPatterns, mimeTypesMap, referenceXPaths, remoteBinaryPathPatterns, remoteFileResolver, supportedMimeTypesmetadataExtractors| Constructor and Description |
|---|
ElasticsearchBinaryFileWithMetadataBatchIndexer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(String indexId,
String siteName,
String previousBinaryPath,
UpdateStatus updateStatus) |
protected void |
doUpdateContent(String indexId,
String siteName,
String binaryPath,
org.craftercms.core.service.Content content,
org.springframework.util.MultiValueMap<String,String> metadata,
UpdateDetail updateDetail,
UpdateStatus updateStatus) |
protected void |
doUpdateContent(String indexId,
String siteName,
String binaryPath,
org.craftercms.core.service.Content content,
UpdateDetail updateDetail,
UpdateStatus updateStatus,
Map<String,String> metadata) |
protected void |
doUpdateContent(String indexId,
String siteName,
String binaryPath,
org.springframework.core.io.Resource resource,
org.springframework.util.MultiValueMap<String,String> metadata,
UpdateDetail updateDetail,
UpdateStatus updateStatus) |
protected void |
doUpdateContent(String indexId,
String siteName,
String binaryPath,
org.springframework.core.io.Resource resource,
UpdateDetail updateDetail,
UpdateStatus updateStatus) |
protected List<String> |
searchBinaryPathsFromMetadataPath(String indexId,
String siteName,
String metadataPath) |
protected String |
searchMetadataPathFromBinaryPath(String indexId,
String siteName,
String binaryPath) |
void |
setElasticsearchService(ElasticsearchService elasticsearchService) |
doDeletes, doUpdates, extractMetadata, extractMetadataFromChildren, getBinaryFilePaths, isBinary, isChildBinary, isMetadata, isRemoteBinary, loadMetadata, setBinaryPathPatterns, setChildBinaryPathPatterns, setExcludeMetadataProperties, setExcludePropertyPatterns, setIncludePropertyPatterns, setItemProcessor, setItemProcessors, setLocalIdFieldName, setMaxFileSize, setMetadataPathFieldName, setMetadataPathPatterns, setReferenceXPaths, setRemoteBinaryPathPatterns, setRemoteFileResolver, setSupportedMimeTypes, shouldIncludeProperty, updateBinary, updateBinaryWithMetadata, updateIndex, updatePreviousBinariescollectMetadata, setMetadataExtractorsprotected ElasticsearchService elasticsearchService
public ElasticsearchBinaryFileWithMetadataBatchIndexer()
public void setElasticsearchService(ElasticsearchService elasticsearchService)
protected void doDelete(String indexId, String siteName, String previousBinaryPath, UpdateStatus updateStatus)
doDelete in class AbstractBinaryFileWithMetadataBatchIndexerprotected List<String> searchBinaryPathsFromMetadataPath(String indexId, String siteName, String metadataPath)
searchBinaryPathsFromMetadataPath in class AbstractBinaryFileWithMetadataBatchIndexerprotected String searchMetadataPathFromBinaryPath(String indexId, String siteName, String binaryPath)
searchMetadataPathFromBinaryPath in class AbstractBinaryFileWithMetadataBatchIndexerprotected void doUpdateContent(String indexId, String siteName, String binaryPath, org.springframework.core.io.Resource resource, org.springframework.util.MultiValueMap<String,String> metadata, UpdateDetail updateDetail, UpdateStatus updateStatus)
doUpdateContent in class AbstractBinaryFileWithMetadataBatchIndexerprotected void doUpdateContent(String indexId, String siteName, String binaryPath, org.craftercms.core.service.Content content, org.springframework.util.MultiValueMap<String,String> metadata, UpdateDetail updateDetail, UpdateStatus updateStatus)
doUpdateContent in class AbstractBinaryFileWithMetadataBatchIndexerprotected void doUpdateContent(String indexId, String siteName, String binaryPath, org.springframework.core.io.Resource resource, UpdateDetail updateDetail, UpdateStatus updateStatus)
doUpdateContent in class AbstractBinaryFileWithMetadataBatchIndexerprotected void doUpdateContent(String indexId, String siteName, String binaryPath, org.craftercms.core.service.Content content, UpdateDetail updateDetail, UpdateStatus updateStatus, Map<String,String> metadata)
doUpdateContent in class AbstractBinaryFileWithMetadataBatchIndexerCopyright © 2021 CrafterCMS. All rights reserved.