Hi Guys , today I Gonna Share the WorkFlow for the Staging
indexing , this tutorials will be very interesting with respect to the other
functionalities because almost all is OOTB, you need to place right things In
place.
ATG does not provide the automatic indexing enable for the
staging env, you need to enable it .let’s find the detailed discussion below.
Before proceeding to this tutorial you need to make sure
that you have the following modules built as part of your build.
BCC: DAF.Endeca.Index.Versioned,DCS. Endeca.Index.Versioned
these two components are responsible for the Componets required for indexing in
Staging env.
Staging: DAF.Endeca.Index,DCS.Endeca.Index
Once you are done with the above modules, you can proceed
further.
1) Make sure to add the following outputconfig in /atg/search/repository/IndexingDeploymentListener
indexingOutputConfigs+=\
/atg/commerce/search/ProductCatalogOutputConfig_staging
2) Make sure to update the staging details in following
component /atg/search/SynchronizationInvoker_staging
host=10.20.30.70
port=1072
where
host nameof staging
port is staging rmi port
3)make sure that the /atg/commerce/search/IndexedItemsGroup_staging
points to your productCatalog_Staging Repository to do that update the ProductCatalogOutputConfig_staging
by following values
repositoryItemGroup=/atg/commerce/search/IndexedItemsGroup_staging/
repository^=/atg/commerce/search/IndexedItemsGroup_staging.repository
Only these changes are required to be done in the BCC Side.
We will see the Changes in the Staging side now
1) update the CategoryTreeService, RepositoryTypeDimensionExporter,
SchemaExporter with the below changes
indexingOutputConfig=/atg/commerce/search/ProductCatalogOutputConfig_staging
2)update the ProductCatalogSimpleIndexingAdmin to points to /atg/commerce/search/ProductCatalogOutputConfig_staging
during indexing .
phaseToPrioritiesAndTasks=\
PreIndexing=5:CategoryTreeService,\
RepositoryExport=10:\
SchemaExporter;\
CategoryToDimensionOutputConfig_staging;\
RepositoryTypeDimensionExporter;\
/atg/commerce/search/ProductCatalogOutputConfig_staging,\
EndecaIndexing=15:EndecaScriptService
That’s it you are done with the Staging Indexing workflow .So
after this changes once you deploy the project indexing will be triggered in
both staging and production.
For Indexing only in Production you can refer my previous posts.
Happy Day
Hi, thanks for your sharing. Currently I am doing the same. We have BCC to publish to staging first then production target.
ReplyDeleteHere, I have one question. once BCC deploy project to Staging and triggers partial update that the update will reflect on authoring Dgraph, then if user continues to deploy project to Production target, how can we make the update from authoring Dgraph to Live Dgraph?
Thanks