使用EPiServer查找索引页面文件

时间:2014-07-23 07:39:17

标签: episerver episerver-7

我正在尝试使用EPiServer Find(7.0.586.24)索引页面文件,但索引器似乎没有索引页面文件文件夹中子目录中的文档。例如,我有一个页面文件夹,如下所示:

MyPage
   |- Page files
   |- File1
   |- Directory
      |- File2
      |- File3

日志显示抛出以下异常:

2014-07-22 16:13:39,234 [25] ERROR EPiServer.Find.Cms.Module.IndexingModule: 
An exception occured while indexing (UnifiedFile). Unable to retrieve the page
reference for page file "File.pdf" in folder 
templates_project_phase_Acquisition. Executing with language branch: no. 
{log4net:HostName=THOMRAND} 
EPiServer.Find.Cms.ContentIndexerException: Unable to retrieve the page reference for 
page file "Overtidsliste.pdf" in folder templates_project_phase_Acquisition. Executing 
with language branch: no
    at EPiServer.Find.Cms.ContentIndexer.ShouldIndex(UnifiedFile file)
    at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
    at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
    at EPiServer.Find.Cms.BaseIndexer.Index(IEnumerable`1 files, Int32 batchSize)
    at EPiServer.Find.Cms.Module.IndexingModule.IndexFileQueue()

我的VirtualPathProvider设置为VirtualPathVersioningProvider。这是一个错误,还是我做错了什么?

提前致谢。

1 个答案:

答案 0 :(得分:1)