Try our conversational search powered by Generative AI!

Page files is not indexed

Vote:
 

I've just implemented EPiServer Find on a CMS 6.1.379.502 site, but haven't been able to index the page files. Is this a known issue with the latest EPiServer Integration module? There's no errors logged when running the scheduled index job, and I've successfully built a custom job (together with UnifiedFile event listeners) for indexing of Global files.

#60854
Aug 28, 2012 16:07
Vote:
 

Some additional info: The EPiServer CMS db has been upgraded from CMS 5.2.375.7.

#60855
Aug 28, 2012 16:11
Vote:
 

As opposed to Truffler, Find doesn't index page files automatically by default. It can be turned on using the below code in application_start or an initialization module:

PageIndexer.Instance.Conventions.EnablePageFilesIndexing();

There's now also out of the box functionality for indexing other VPPs, but that's not turned on by default either. To for instance index files in all VPPs that are visible in the file manager you can do:

FileIndexer.Instance.Conventions.ShouldIndexVPPConvention = new VisibleInFilemanagerVPPIndexingConvention();

Alternatively, to excercize total control over what VPPs should be indexed you can set the ShouldIndexVPPConvention property to a custom implementation of IShouldIndexVppConvention.    

   

#60860
Aug 28, 2012 21:34
Vote:
 

Seems to be working, thanks for quick response! I guess the documentation is lacking a bit, #nohate.

#60862
Aug 28, 2012 22:43
Vote:
 

Yeah, sorry about that. The documentation is now updated.

#60873
Aug 29, 2012 11:34
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.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.