Azure Search Service top超过1000

时间:2017-04-10 07:29:39

标签: c# azure azure-sql-database azure-search

通过搜索文档(Azure搜索服务REST API)获取documents。 问题是显示top 1000 70000的最大值为here

现在Iam测试获取70文档的效果,这意味着我必须发送70000次请求。

由于continuation token,我确实得到Number of documents: 70000 Documents per request: 1000 One Searchservice-Request with 1000 requests takes on average: 343,986301369863ms (0,343986301369863 seconds) number of requests in total: 70 The whole requests took: 25168ms (25 seconds) Number of documents: 70000 Documents per request: 500 One Searchservice-Request with 500 requests takes on average: 242,472602739726ms (0,242472602739726 seconds) number of requests in total: 140 The whole requests took: 35499ms (35 seconds) Number of documents: 70000 Documents per request: 250 One Searchservice-Request with 250 requests takes on average: 189,465753424658ms (0,189465753424658 seconds) number of requests in total: 280 The whole requests took: 55495ms (55 seconds) Number of documents: 70000 Documents per request: 50 One Searchservice-Request with 50 requests takes on average: 151,955357142857ms (0,151955357142857 seconds) number of requests in total: 1400 The whole requests took: 222033ms (222 seconds) 文档没有任何问题。但遗憾的是它很慢......

这里有一些例子:

documents

您可以清楚地看到,每request我得到的request越多,整个documents的完成速度就越快。

我的问题是:是否可以为每个请求获得超过1000 top /将1000值设置为高于noneMatch()来调整性能?

Azure-Team能为我解锁这样的东西吗? 或者我只需要忍受时间损失?

非常感谢。

1 个答案:

答案 0 :(得分:2)

  

我的问题是:是否有可能获得超过1000个文件   请求/设置高于1000的最高值来调整性能?

不,每个请求不可能获得超过1000个文档。此限制属于全局级别,无法在服务级别进行自定义。