【问题标题】:CONTAINS predicate in queries to SharePoint CMIS connector在对 SharePoint CMIS 连接器的查询中包含谓词
【发布时间】:2012-08-06 13:03:12
【问题描述】:

我们在对 SharePoint 2010 执行 CMIS 查询时遇到问题。

CONTAINS 谓词仅在通过本机 API 连接时才在 WHERE 子句中起作用。它无法通过 CMIS 连接器工作,并出现以下错误:

HTTP/1.1 500 Internal Server Error
Cache-Control: private
Content-Type: plain/text; charset=utf-8
Server: Microsoft-IIS/7.5
SPRequestGuid: 9dc88273-bb44-463d-95fc-f87193e3398f
Set-Cookie: WSS_KeepSessionAuthenticated={f52ddea3-0d94-48e6-b7c0-53ae740be8e4}; path=/
X-SharePointHealthScore: 0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 14.0.0.6029
Date: Mon, 06 Aug 2012 12:17:34 GMT
Content-Length: 129

Your search cannot be completed because this site is not assigned to an indexer. Contact your administrator for more information.

SharePoint 版本详细信息:

MicrosoftSharePointTeamServices:14.0.0.6029

Microsoft SharePoint Server 2010(非 Foundation)

【问题讨论】:

    标签: sharepoint cmis


    【解决方案1】:

    转到 SharePoint 管理中心 - 应用程序管理 - 管理内容数据库,然后单击您的 Web 应用程序正在使用的内容数据库。在加载数据库(管理内容数据库设置)的页面上,向下滚动到搜索服务器部分,然后从下拉列表中选择您的服务器。检查以确保计时器作业的首选服务器也选择了您的服务器。单击确定。如果下拉菜单被禁用,请确保 SharePoint Foundation 搜索服务(是的,尽管您正在运行 SharePoint Server,但 Foundation)已启动。希望这会有所帮助。

    http://www.sathishtk.com/blog

    【讨论】:

    • 谢谢,现在错误消失了。但是新的问题是使用 CONTAINS 的查询返回空结果,你知道可能是什么问题吗?
    【解决方案2】:

    您的 SharePoint Foundation 搜索计时器作业是否有效。通过去验证它 监控 –> 计时器作业 –> 查看作业定义。

    查找 - SharePoint Foundation 搜索 刷新并运行计时器作业。完成后,试试你的 contains 语句。

    如果它仍然不起作用,我建议停止您的 SharePoint 基础搜索。从内容源(搜索服务应用程序)中删除您的 Web 应用程序(具有您的文档库的应用程序)。再次开始您的基础搜索,按照我之前的帖子中所述设置内容数据库设置,启动基础计时器作业并再次测试您的查询。

    如果可行,您可以将 Web 应用程序添加到您的内容源,以便常规 SP 搜索正常工作。

    http://www.sathishtk.com/blog

    附:我试图找到一个用作参考的 technet 博客。找不到它。但如果我没记错的话,这些是我遵循的步骤。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-16
      • 1970-01-01
      • 1970-01-01
      • 2015-10-28
      • 1970-01-01
      相关资源
      最近更新 更多