EPiServer Find Index schedule service & composer

Vote:
 

I am testing EPiServer Find and are executing "EPiServer Find CMS Indexing Job" on a composer based EPiServer CMS R2 website. While browsing using the "Find" module I can see that It is indexing "[ExtensionSys] Extension Container" page types. Is there any way of exculding composer page types from indexing using "EPiServer Find CMS Indexing Job"

#64873
Jan 14, 2013 12:23
Vote:
 

Hi,


Yes have a look at the PageIndexer, http://find.episerver.com/Documentation/episerver-cms-integration-indexing.

PageIndexer.Instance.Conventions.ForInstancesOf<PageData>().ShouldIndex(page => !page.PageTypeName.StartsWith("[ExtensionSys]"));

    

#64876
Jan 14, 2013 14:33
Vote:
 

Thanks for that. But will it also change the behaviour of "EPiServer Find CMS Indexing Job"?

#64881
Jan 14, 2013 15:18
Vote:
 

Yes it will.

Put the code in global.asax in application start or in an IInitializableModule

#64882
Jan 14, 2013 15:20
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.