Class OpenSearchIndexingProcessor
java.lang.Object
org.craftercms.deployer.impl.processors.AbstractDeploymentProcessor
org.craftercms.deployer.impl.processors.AbstractMainDeploymentProcessor
org.craftercms.deployer.impl.processors.AbstractSearchIndexingProcessor
org.craftercms.deployer.impl.processors.opensearch.OpenSearchIndexingProcessor
- All Implemented Interfaces:
DeploymentProcessor,InitializableByConfigBean,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
Implementation of
AbstractSearchIndexingProcessor for OpenSearch- Since:
- 3.1.0
- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected org.craftercms.search.opensearch.OpenSearchAdminServiceprotected org.craftercms.search.opensearch.OpenSearchServiceFields inherited from class org.craftercms.deployer.impl.processors.AbstractSearchIndexingProcessor
batchIndexers, cacheService, componentPathPattern, contentStoreService, contextFactory, CREATE_INDEX_IF_MISSING_CONFIG_KEY, createIndexIfMissing, DEFAULT_COMPONENT_PATH_PATTERN, DEFAULT_DESCRIPTOR_PATH_PATTERN, DEFAULT_ITEMS_THAT_INCLUDE_COMPONENT_QUERY_ROWS, descriptorPathPattern, IGNORE_INDEX_ID_CONFIG_KEY, INDEX_ID_CONFIG_KEY, indexId, indexIdFormat, itemsThatIncludeComponentQueryRows, REINDEX_ITEMS_ON_COMPONENT_UPDATES, reindexItemsOnComponentUpdates, xmlFlatteningEnabledFields inherited from class org.craftercms.deployer.impl.processors.AbstractMainDeploymentProcessor
FAIL_DEPLOYMENT_CONFIG_KEY, failDeploymentOnFailureFields inherited from class org.craftercms.deployer.impl.processors.AbstractDeploymentProcessor
alwaysRun, env, excludeFiles, includeFiles, JUMPING_TO_PARAM_NAME, jumpTo, label, name, siteName, targetId -
Constructor Summary
ConstructorsConstructorDescriptionOpenSearchIndexingProcessor(org.craftercms.search.opensearch.OpenSearchService searchService, org.craftercms.search.opensearch.OpenSearchAdminService searchAdminService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidgetItemsThatIncludeComponent(String indexId, String componentPath) getItemsThatInheritDescriptor(String indexId, String descriptorPath) Methods inherited from class org.craftercms.deployer.impl.processors.AbstractSearchIndexingProcessor
addAffectedItemsToUpdatedFiles, addItemsThatIncludeComponentToUpdatedFiles, addItemsThatInheritFromDescriptorToUpdatedFiles, doDestroy, doInit, doMainProcess, expandChangeSet, isBeingUpdatedOrDeleted, isComponent, isDescriptor, setBatchIndexer, setBatchIndexers, setCacheService, setComponentPathRegex, setContentStoreService, setContextFactory, setDescriptorPathRegex, setIndexIdFormat, setItemsThatIncludeComponentQueryRows, setXmlFlatteningEnabled, supportsModeMethods inherited from class org.craftercms.deployer.impl.processors.AbstractMainDeploymentProcessor
doExecute, failDeploymentOnProcessorFailure, init, shouldExecuteMethods inherited from class org.craftercms.deployer.impl.processors.AbstractDeploymentProcessor
destroy, execute, getDeploymentParam, getFilteredChangeSet, isJumpToActive, isPostDeployment, setBeanName, setEnv, setSiteName, setTargetId, shouldIncludeFile, startJumpTo
-
Field Details
-
localIdFieldName
-
inheritsFromFieldName
-
includedDescriptorsFieldName
-
metadataPathFieldName
-
searchService
protected org.craftercms.search.opensearch.OpenSearchService searchService -
searchAdminService
protected org.craftercms.search.opensearch.OpenSearchAdminService searchAdminService
-
-
Constructor Details
-
OpenSearchIndexingProcessor
@ConstructorProperties({"searchService","searchAdminService"}) public OpenSearchIndexingProcessor(org.craftercms.search.opensearch.OpenSearchService searchService, org.craftercms.search.opensearch.OpenSearchAdminService searchAdminService)
-
-
Method Details
-
doCreateIndexIfMissing
protected void doCreateIndexIfMissing()- Specified by:
doCreateIndexIfMissingin classAbstractSearchIndexingProcessor
-
doCommit
- Specified by:
doCommitin classAbstractSearchIndexingProcessor
-
getItemsThatInheritDescriptor
- Specified by:
getItemsThatInheritDescriptorin classAbstractSearchIndexingProcessor
-
getItemsThatIncludeComponent
- Specified by:
getItemsThatIncludeComponentin classAbstractSearchIndexingProcessor
-