【发布时间】:2019-01-15 14:31:03
【问题描述】:
我有 500MB 的数据要推送到云搜索。
以下是我尝试过的选项:
直接从控制台上传:
尝试上传文件,有 5 MB 的限制。
然后将文件上传到 S3 并选择 S3 选项,
上传到S3并在控制台中给出S3 url:
失败并要求尝试命令行。
用命令行试过
aws cloudsearchdomain upload-documents --endpoint-url http://endpoint --content-type application/json --documents s3://bucket/cs.json
Error parsing parameter '--documents': Blob values must be a path to a file.
好的,将文件从s3复制到本地并尝试上传,
尝试使用本地文件和 cli:
aws cloudsearchdomain upload-documents --endpoint-url http://endpoint --content-type application/json --documents ./cs.json
在我们收到来自端点 URL 的有效响应之前,连接已关闭:“http://endpoint/2013-01-01/documents/batch?format=sdk”。
无论如何让 CloudSearch 工作?
【问题讨论】:
标签: amazon-web-services amazon-s3 amazon-cloudsearch