C# sitecore IComputedIndexField类为';未找到/未找到';跑不动

C# sitecore IComputedIndexField类为';未找到/未找到';跑不动,c#,indexing,lucene,sitecore,computed-field,C#,Indexing,Lucene,Sitecore,Computed Field,我添加了ComputedIndexFields.config文件,其中包含以下代码: <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <contentSearch> <indexConfigurations> &l

我添加了ComputedIndexFields.config文件,其中包含以下代码:

<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <contentSearch>
      <indexConfigurations>
         <defaultIndexConfiguration>
          <fields hint="raw:AddComputedIndexField">
            <field fieldName="AppliedThemes" storageType="yes" indexType="TOKENIZED">be.extensions.AppliedThemes, be.extensions</field>
          </fields>
        </defaultIndexConfiguration>
      </configuration>
    </contentSearch>
  </sitecore>
</configuration>
我想测试我已经编写的一点点代码。因此,我在“ComputeFieldValue(IIndexable indexable)”方法的第一行添加了一个断点,并启动了网站(在调试时)

我更改了几个项目,保存它们,然后重建索引树,但我的断点从未命中

该类位于不同的项目中,并构建到具有assemblyname“be.extensions”的.dll中

我正在使用sitecore 8更新2

有人知道我做错了什么,或者为什么这个代码不能被访问吗?
(就像这段代码发送到一些我无法调试的Lucene工作流)

由于对包含文件的结构进行了Sitecore更改,您的配置可能没有被修补。也就是说,
defaultIndexConfiguration
节点与新的类型属性一起更改为
defaultLuceneIndexConfiguration
。您可以使用
/sitecore/admin/showconfig.aspx
实用程序页面验证您的计算字段是否已正确修补。另外,请注意,每个计算索引字段的
存储类型
索引类型
现在是在
部分定义的,而不是现在的位置

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <contentSearch>
      <indexConfigurations>
        <defaultLuceneIndexConfiguration type="Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider">
          <fields hint="raw:AddComputedIndexField">
            <field fieldName="yourname">be.extensions.AppliedThemes, be.extensions</field>
          </fields>
        </defaultLuceneIndexConfiguration>
      </indexConfigurations>
    </contentSearch>
  </sitecore>
</configuration>

be.extensions.AppliedThemes,be.extensions

sitecore/admin/showconfig.aspx告诉您什么?补丁文件包括在内了吗?当你说,启动网站,你的项目和你的网站根在同一个位置吗?您是否已连接到正确的调试进程?您的webroot是否包含程序集的.pdb?谢谢,这正是我所需要的!
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <contentSearch>
      <indexConfigurations>
        <defaultLuceneIndexConfiguration type="Sitecore.ContentSearch.LuceneProvider.LuceneIndexConfiguration, Sitecore.ContentSearch.LuceneProvider">
          <fields hint="raw:AddComputedIndexField">
            <field fieldName="yourname">be.extensions.AppliedThemes, be.extensions</field>
          </fields>
        </defaultLuceneIndexConfiguration>
      </indexConfigurations>
    </contentSearch>
  </sitecore>
</configuration>