在 Sitecore 8.1 中实施搜索

Implementing Search in Sitecore 8.1

我一直在研究如何在我的网站上实现搜索。看起来 Sitecore 基于这个 article. I'm also using Glass.Mapper as the ORM and have seen this article 推荐 Solr 而不是 Lucene,但我仍然不确定如何实现它。有谁知道有关在 Sitecore 8.1 网站中开始搜索的好教程吗?

谢谢!

我支持,但直到大约一年前才实施 Sitecore 8/Solr 实施。这是你问的一个大问题。

我建议在排除 Lucene 之前进行额外的研究。这是一个太大的决定,不能留给 Sitecore 的小文章。您需要确保能够获得所需的支持,而且 Lucene 和 Solr 之间的文化非常不同。注意 Solr is built on Apache Lucene.

要评估 Solr,请从他们的 basic tutorials 开始。 (Sitecore + Solr 文章假定对这两种产品都非常熟悉。)

这里是使用 Sitecore 8 构建 Solr 的教程

http://thinking.edynamic.net/making-solr-search-work-with-sitecore-8-part-1

https://sitecore-community.github.io/docs/search/solr/Configuring-Solr-for-use-with-Sitecore-8/

一定要阅读 Sitecore 的文档所说的内容。 This article 在一个文档中介绍了 Lucene 和 Solr 的设置(可能对比较有用)。

最后,请务必在Sitecore Developer Network上注册。