Class OpenSearchBinaryFileBatchIndexer
java.lang.Object
org.craftercms.search.metadata.impl.AbstractMetadataCollector
org.craftercms.search.batch.impl.AbstractBatchIndexer
org.craftercms.search.batch.impl.AbstractBinaryFileBatchIndexer
org.craftercms.search.opensearch.batch.OpenSearchBinaryFileBatchIndexer
- All Implemented Interfaces:
BatchIndexer
Implementation of
AbstractBinaryFileBatchIndexer for OpenSearch- Author:
- joseross
-
Field Summary
FieldsFields inherited from class org.craftercms.search.batch.impl.AbstractBinaryFileBatchIndexer
mimeTypesMap, supportedMimeTypesFields inherited from class org.craftercms.search.batch.impl.AbstractBatchIndexer
excludePathPatterns, includePathPatternsFields inherited from class org.craftercms.search.metadata.impl.AbstractMetadataCollector
metadataExtractors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoDelete(String indexId, String siteName, String path, UpdateStatus updateStatus) protected voiddoUpdateContent(String indexId, String siteName, String path, org.craftercms.core.service.Content binaryContent, UpdateDetail updateDetail, UpdateStatus updateStatus, Map<String, Object> metadata) Methods inherited from class org.craftercms.search.batch.impl.AbstractBinaryFileBatchIndexer
doSingleFileUpdate, include, setSupportedMimeTypesMethods inherited from class org.craftercms.search.batch.impl.AbstractBatchIndexer
setExcludePathPatterns, setIncludePathPatterns, updateIndexMethods inherited from class org.craftercms.search.metadata.impl.AbstractMetadataCollector
collectMetadata, setMetadataExtractors
-
Field Details
-
searchService
OpenSearch service
-
-
Constructor Details
-
OpenSearchBinaryFileBatchIndexer
@ConstructorProperties("searchService") public OpenSearchBinaryFileBatchIndexer(OpenSearchService searchService)
-
-
Method Details
-
doDelete
- Specified by:
doDeletein classAbstractBinaryFileBatchIndexer
-
doUpdateContent
protected void doUpdateContent(String indexId, String siteName, String path, org.craftercms.core.service.Content binaryContent, UpdateDetail updateDetail, UpdateStatus updateStatus, Map<String, Object> metadata) - Specified by:
doUpdateContentin classAbstractBinaryFileBatchIndexer
-