1

我正在尝试使用 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。这与错误有关,还是我做错了什么?

提前致谢。

4

1 回答 1

1

我不确定,但这可能是答案:

http://blog.nansen.com/2013/11/indexing-all-vpp-files-with-episerver-7.html

于 2015-04-09T13:28:30.810 回答