【问题标题】:Advanced database crawler issue with sitecore 7.2sitecore 7.2 的高级数据库爬虫问题
【发布时间】:2014-12-17 03:54:58
【问题描述】:

我是 sitecore 中 lucene 搜索的新手。我遇到了几个问题。

Sitecore 7.2 中是否支持高级数据库爬虫?我已经从 Nuget 下载了 DLL 并添加了配置文件。当我尝试重建索引时,我遇到了以下问题。

无法加载文件或程序集'Lucene.Net,版本=2.3.1.3, Culture=neutral, PublicKeyToken=null' 或其依赖项之一。这 定位程序集的清单定义与程序集不匹配 参考。 (HRESULT 异常:0x80131040)

这个问题的原因可能是什么?

【问题讨论】:

    标签: lucene sitecore lucene.net


    【解决方案1】:

    Sitecore 7 不再支持或不再需要 Advanced Database Crawler 模块。取而代之的是一个新的内置 ContentSearchManager API,您应该改用它。

    首先阅读 SDN 上的 Developer’s Guide to Item Buckets and SearchSearch and Indexing Guide,还可以在这里查看更多有用的博文:http://sitecore-community.github.io/docs/documentation/Search/index.html

    【讨论】:

    • 感谢您的回答。我还有一个疑问。我还没有尝试过 ContentSearchManager。我在 ADC 中看到了几个示例,例如搜索日期字段、范围、多字段搜索等。我可以实现如果您知道任何好的参考,请在 ContentSearchManager.Plz 中分享相同的内容。再次感谢。
    • 您可以使用PredicateBuilder 添加您的搜索词。您可以在 ADC 中执行的任何操作都可以使用 ContentSearchManager 执行,配置要简单得多,索引选项要好得多。如果您遇到困难,请深入研究并提出另一个问题,但不要担心您会遗漏任何东西。
    • 来自 Sitecore 团队的更多 blog postsAutohaus Demo site,这是搜索的一个很好的介绍。
    • 谢谢jammykam。我去看看。
    【解决方案2】:

    嗯,市场声明它不支持 Sitecore 7+ https://marketplace.sitecore.net/Modules/Search_Contrib.aspx?sc_lang=en

    您收到的消息是因为 Sitecore 7+ 使用 Lucene 3.0.3 而模块使用 2.3.1.3

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多