Azure 搜索服务 top 值超过 1000
Azure Search Service top Value more than 1000
我正在通过搜索文档(Azure 搜索服务 REST API)获取 documents
。
问题是 top
的最大值显示为 1000
here。
现在我正在测试获取 70000
文档的性能,这意味着我必须发送请求 70
次。
由于 continuation token
,我确实毫无问题地获得了 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)
你可以清楚地看到,我每 request
获得的 documents
越多,整个 request
完成的速度就越快。
我的问题是:是否有可能每个请求获得超过 1000 documents
/将 top
值设置为高于 1000
以调整性能?
Azure 团队可以为我解锁这样的东西吗?
还是我只能忍受时间的流逝?
非常感谢。
My question is: Is it possible to get more then 1000 documents per
request / set the top value higher than 1000 to tune the performance?
不,每个请求不可能获得超过 1000 个文档。此限制是全局级别的,无法在服务级别进行自定义。
我正在通过搜索文档(Azure 搜索服务 REST API)获取 documents
。
问题是 top
的最大值显示为 1000
here。
现在我正在测试获取 70000
文档的性能,这意味着我必须发送请求 70
次。
由于 continuation token
,我确实毫无问题地获得了 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)
你可以清楚地看到,我每 request
获得的 documents
越多,整个 request
完成的速度就越快。
我的问题是:是否有可能每个请求获得超过 1000 documents
/将 top
值设置为高于 1000
以调整性能?
Azure 团队可以为我解锁这样的东西吗? 还是我只能忍受时间的流逝?
非常感谢。
My question is: Is it possible to get more then 1000 documents per request / set the top value higher than 1000 to tune the performance?
不,每个请求不可能获得超过 1000 个文档。此限制是全局级别的,无法在服务级别进行自定义。