Iamは検索ドキュメント(Azure Search Service REST API)でdocuments
を取得しています。 問題は、top
の最大値が1000
で、hereと表示されています。Azure Search Serviceのトップ値1000以上
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
が行われていることを、はっきりと見ることができます。
私の質問は次のとおりです:documents
を1回のリクエストで取得することは可能ですか/ 1000
よりも高い値をtop
に設定してパフォーマンスを調整しますか?
Azureチームが私のためにこのようなロックを解除できますか? または、私はtimelossと一緒に生きなければなりませんか?
ありがとうございました。
あなたのシナリオでは少し詳しく説明できますか?インデックスからデータをエクスポートしようとしていますか?また、待ち時間を測定する場合、クライアントはどこで実行されましたか?敷地内?あなたの検索サービスと同じAzure地域ですか?等 –