Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.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
C# Azure搜索服务最高价值超过1000_C#_Azure_Azure Sql Database_Azure Cognitive Search - Fatal编程技术网

C# Azure搜索服务最高价值超过1000

C# Azure搜索服务最高价值超过1000,c#,azure,azure-sql-database,azure-cognitive-search,C#,Azure,Azure Sql Database,Azure Cognitive Search,Iam通过搜索文档(Azure搜索服务REST API)获取文档。 问题在于显示的top的最大值为1000 现在,我正在测试获取70000文档的性能,这意味着我必须发送请求70次 由于延续令牌,我确实可以毫无问题地获得70000文档。但遗憾的是,速度非常慢 这里有一些例子: Number of documents: 70000 Documents per request: 1000 One Searchservice-Request with 1000 requests takes on av

Iam通过搜索文档(Azure搜索服务REST API)获取
文档
。 问题在于显示的
top
的最大值为
1000

现在,我正在测试获取
70000
文档的性能,这意味着我必须发送请求
70次

由于
延续令牌
,我确实可以毫无问题地获得
70000
文档。但遗憾的是,速度非常慢

这里有一些例子:

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)
您可以清楚地看到,每个
请求得到的
文档越多,整个
请求的完成速度就越快

我的问题是:是否有可能在每个请求中获取超过1000个
文档
/将
top
值设置为高于
1000
以调整性能

Azure团队可以为我解锁类似的东西吗? 还是我必须要和永恒一起生活

多谢各位

我的问题是:是否有可能每天获得超过1000个文档 请求/设置高于1000的最大值以调整性能

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

我的问题是:是否有可能每天获得超过1000个文档 请求/设置高于1000的最大值以调整性能


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

您能详细说明一下您的场景吗?您正在尝试从索引导出数据吗?另外,在测量延迟时,客户端在哪里运行?室内?与您的搜索服务位于同一Azure区域?你能详细说明一下你的情况吗?您正在尝试从索引导出数据吗?另外,在测量延迟时,客户端在哪里运行?室内?与您的搜索服务位于同一Azure区域?等