Foundation offers a starting point that is intuitive, well-structured and modular allowing developers to explore CMS, Commerce, Personalization, Search and Navigation, Data Platform and Experimentation.
This is to enable PDF search for V12. In SearchService.cs, I had to add both FoundationPdfFile and PdfFile type into the filter to make sure the search works depending on which type is registered first by the system.
.Filter(x => x.MatchTypeHierarchy(typeof(FoundationPdfFile)) | x.MatchTypeHierarchy(typeof(EPiServer.PdfPreview.Models.PdfFile)))
This is to enable PDF search for V12. In SearchService.cs, I had to add both FoundationPdfFile and PdfFile type into the filter to make sure the search works depending on which type is registered first by the system. .Filter(x => x.MatchTypeHierarchy(typeof(FoundationPdfFile)) | x.MatchTypeHierarchy(typeof(EPiServer.PdfPreview.Models.PdfFile)))