【问题标题】:SharePoint-Search 2013 FQL not working after FQL is enabled manually手动启用 FQL 后 SharePoint-Search 2013 FQL 不起作用
【发布时间】:2014-06-19 13:05:17
【问题描述】:

我们有一个使用 SharePoint 2010 搜索查询服务的 WPF/MVVM 应用程序。我们正在将 SharePoint 2010 升级到 2013。我在 SharePoint 2013 服务器中启用了 FQL,方法是添加一个新的默认搜索结果源,其中查询转换字符串设置为“{?andnot({searchTerms},filter(contentclass:"urn:content-类:SPSPeople*"))}”。通过查看文章 http://msdn.microsoft.com/en-us/library/jj163973.aspx,此选项启用了 SharePoint 2013 的 FQL。

但是我们的 FQL 搜索仍然返回 0 个结果,没有任何来自客户端对象模型的异常。我检查了我们没有在 FQL CAML 查询下使用任何不推荐使用的运算符。此网站http://www.onlysharepoint2013.com/2013/01/fast-query-language-fql-features-that.html 列出了 SharePoint 2013 FQL 的所有已弃用运算符。

我使用 SPCAMLQueryHelper.exe 测试了相同的 FQL CAML 查询,它确实返回了正确的行。

什么可能导致 FQL CAML 查询仍然无法在 SharePoint 2013 上运行?

非常感谢。

【问题讨论】:

    标签: sharepoint-2013 sharepoint-search


    【解决方案1】:

    在 Sharepoint 2013 中使用关键字查询语言。

    请看下面的链接,它会帮助你。

    http://technologybooth.blogspot.in/2013/08/keyword-query-in-sharepoint-2013.html

    【讨论】:

    • 感谢您回答问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-04-15
    • 1970-01-01
    • 2014-06-22
    • 1970-01-01
    • 2011-11-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多