Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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