Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint 如何克服快速搜索字符限制2048_Sharepoint_Search_Facebook Fql - Fatal编程技术网

Sharepoint 如何克服快速搜索字符限制2048

Sharepoint 如何克服快速搜索字符限制2048,sharepoint,search,facebook-fql,Sharepoint,Search,Facebook Fql,我们使用FQL(快速查询语言)从一些搜索范围获取数据 在一个搜索范围内,几乎有400条路径规则使我的QueryText超出索引范围(限制为2048) 由于FQL不直接支持作用域,因此我们使用以下代码: foreach (Scope scope in scopes.GetScopesForSite(null)) { scopeLookup += scope.Filter; } myQuery.QueryText= scopeLookup; 当文本限制超过2048个字符时,最后一行抛

我们使用FQL(快速查询语言)从一些搜索范围获取数据

在一个搜索范围内,几乎有400条路径规则使我的QueryText超出索引范围(限制为2048)

由于FQL不直接支持作用域,因此我们使用以下代码:

foreach (Scope scope in scopes.GetScopesForSite(null)) {
     scopeLookup += scope.Filter;
}

myQuery.QueryText= scopeLookup; 
当文本限制超过2048个字符时,最后一行抛出错误