Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
AI OnAI Off
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
We need more information for a meaningful answer. What do you mean "with the wrong document type"? Care to share an example?
It sounds to me like that you have multiple instances, and the instance that does the event driven indexing do not have the strongly typed content types defined - Commerce Manager perhaps ?
When using scheduled task 'Episerver find content indexing job' commerce pages are correctly indexed with the correct document type :
-EpiWebsite.Models.Commerce.NonConfigurableProduct
-EpiWebsite.Models.Commerce.ConfigurableProduct
-EpiWebsite.Models.Commerce.ProductListCollectionFilter
-EpiWebsite.Models.Commerce.ProductListFilter
-EpiWebsite.Models.Commerce.CompositionBundle
etc.
But when EventedIndexingEnabled / ScheduledPageQueueEnabled is enabled
and I save a commerce page via _contentRepository.Service.Save etc.
Then the pages are automatically indexed with the wrong document type :
EPiServer.Commerce.Catalog.ContentTypes.ProductContent
EPiServer.Commerce.Catalog.ContentTypes.NodeContent