简体   繁体   English

Solr Cloud Config未上传

[英]Solr Cloud Config not uploading

I'm running curl. 我正在卷曲。 I'm not getting an error. 我没有收到错误。

curl -X POST -u "username":"pwd" "https://gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters/scc2c46f2f_a84c_42d7_8857_a9999704dde4/config/Kbase" --data-binary @solr_config.zip

However, when I add a collection I get the message that it has no configuration 但是,当我添加一个集合时,我收到一条消息,它没有配置

When I search all configs, it doesn't show. 当我搜索所有配置时,它不会显示。

curl -u "username":"pwd" "https://gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters/scc2c46f2f_a84c_42d7_8857_a9999704dde4/config"

I didn't have: -H "Content-Type: application/zip" 我没有:-H“内容类型:应用程序/邮政编码”

This is the statement: curl -X POST -H "Content-Type: application/zip" -u "{username}":"{password}" " https://gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters/sc1ca23733_faa8_49ce_b3b6_dc3e193264c6/config/example_config " --data-binary @/configs/example_config.zip 这是语句:curl -X POST -H“内容类型:application / zip” -u“ {用户名}”:“ {密码}”“ https://gateway.watsonplatform.net/retrieve-and-rank/ api / v1 / solr_clusters / sc1ca23733_faa8_49ce_b3b6_dc3e193264c6 / config / example_config “ --data-binary @ / configs / example_config.zip

I just typed it out wrong. 我只是打错了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM