0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Azure AI Search インデクサーの「上限超過」エラーの原因

Posted at

Blobストレージを対象にインデクサーを実行した際に表示される

Document key cannot be longer than 1024 characters.

というエラーは、インデックスのキーフィールドが長すぎることが原因。

Azure AI Search では、各ドキュメントを一意に識別するキーが必須で、最大長は 1024文字。
Blobインデクサーでは、このキーに metadata_storage_path(BlobのURL全体) が自動的に割り当てられる。

ファイル名やフォルダ階層が長いと、この URLが1024文字を超え、インデクサーが登録に失敗する。
ファイル名を短くするとURL全体も短くなり、上限内に収まって処理が正常に完了する。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?