The indexing job doesn't index files

Vote:
 

Hi,

I have a problem with EPiServer Find doesn't index files when using the scheduled job. Though, it works fine if I upload a file and EPiServer automatically after that indexes that file. 

I have some rules specified and those rules should work for both the scheduled job and automatic indexing, right? So why doesn't the scheduled job work? Any ideas?

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

var includedFileExtensions = new List { "doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf", "dot",};

FileIndexer.Instance.Conventions.ForInstancesOf().ShouldIndex(
    x => x.VirtualPath.StartsWith("/Documents") & !x.VirtualPath.Contains("/somepath")
        & includedFileExtensions.Contains(x.SearchFileExtension().ToLower()));
FileIndexer.Instance.Conventions.ForInstancesOf().ShouldIndex(
    x => x.VirtualPath.StartsWith("/Documents") & !x.VirtualPath.Contains("/somepath")
        & includedFileExtensions.Contains(x.SearchFileExtension().ToLower()));
#119785
Apr 02, 2015 13:03
Vote:
 

The FileIndexer is a legacy feature and isn't integrated into the ContentIndexer and the 'EPiServer Find Content Indexing Job' in newer versions (as of Find 7.5). Please use the 'EPiServer Find VPP Indexing Job' to index VPP files (It should be available if you have the EPiServer.Find.Cms.Legacy.dll).

/Henrik

#120123
Apr 10, 2015 12:51
Vote:
 

I wrote a blog post a long time ago about update the logic for these things from 7.0 logic to 7.5 logic

http://world.episerver.com/blogs/Henrik-Fransas/Dates/2014/3/Indexing-only-referenced-files-with-EPiServer-Find-75/

#120124
Apr 10, 2015 13:13
Vote:
 

Thanks for the answers. I should have mentioned that we're running EPiServer 7 and not 7.5. So I guess your answers don't help me then? Or have I misunderstood something?

#120136
Apr 10, 2015 15:20
* 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.