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
Hi,
To exclude a specific catalog from indexing, it can be quite easy, but for category it can be much tricker.
ContentIndexer.Instance.Conventions.ForInstancesOf<EntryContentBase>().ShouldIndex(x => x.CatalogId != 5);
For category you'll likely need to use IRelationRepository to check if a entry belongs to that specific node or not.
Hi,
Is it possible to exclude a specific catalog or commerce category from being indexed in Find?