我试图在R&R中索引200万个文档,但在大约83万个文档之后得到了一个HTTP403错误。我一次发送了10000个文档的“更新API”请求,并通过我的定制工具重复了这一操作。我成功了大约83万次,所以我不认为我弄错了基本的身份验证凭据。
> 2017-01-05T22:51:23.289Z - error: addDocs error: SolrError:
> {"solrErrorMessage":{"message":"WRRCSH001: The resource with path
> [jawiki_collection/update/json], parameters [{DD=[1],
> search_in_description=[1], sourceNode=[231772, 244365], hl=[ja],
> contentPK=[18393008, 17796905], .... SESSIONKEY=[1410347259768]}],
> requested via method [POST] has been blocked."}}
>
> Request URL:
> http://gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters/xxx/solr/jawiki_collection/update/json?&wt=json
> Request method: POST Status code: 403 - Forbidden我的集群资源似乎没有资源问题。磁盘和内存中有可用的空间。
curl -u "xxx:xxx" "https:
//gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters/sc902e45b6_e043_4354_9922_30efd714bd80/stats"
{"disk_usage":{"used_bytes":4687192808,"total_bytes":240518168576,"used":"4.3653 GB","total":"224 GB","percent_used":1.9487894971721937},"memory_usage
":{"used_bytes":10471399424,"total_bytes":29360128000,"used":"9.7523 GB","total":"27.344 GB","percent_used":35.66537388392857}}您能告诉我这个HTTP403错误的原因是什么以及如何解决它吗?
https://stackoverflow.com/questions/41497789
复制相似问题