Sitcore 8 Update 2 |无法找到搜索API

时间:2017-01-13 08:53:38

标签: solr sitecore sitecore8

我正在尝试在sitecore 8中为solr创建自定义poco。我已经引用了solr支持包中给出的所有dll。由于某种原因,我无法找到IndexField属性以及像Page,GetResults,Filter这样的扩展GetQueryable如下所示。任何想法都会有所帮助。

enter image description here

enter image description here

enter image description here

谢谢,

1 个答案:

答案 0 :(得分:1)

您缺少Sitecore.ContentSearch.Linq参考。

只需将该引用添加到您的项目中,一切都应该没问题。

此外,您不需要为索引字段属性添加“_t”和其他后缀。