querqy / chorus

Towards an open source stack for e-commerce search
Apache License 2.0
141 stars 33 forks source link

Documentation 'Kata 000: Setting up Chorus' specifies 'POST' method for uploading configset into Solr where PUT is required for Solr configsets API v2 #67

Closed Paul-Blanchaert closed 2 years ago

Paul-Blanchaert commented 2 years ago

Documentation:

My example with POST (failed): curl —user solr:SolrRocks -X POST —header “Content-Type:application/octet-stream” —data-binary @./solr/configsets/ecommerce.zip “http://localhost:8983/api/cluster/configs/ecommerce” { “responseHeader”:{ “status”:0, “QTime”:0}, “availableSubPaths”:{“/cluster/configs/ecommerce/*”:[“PUT”]}}

My example with PUT (success): curl —user solr:SolrRocks -X PUT —header “Content-Type:application/octet-stream” —data-binary @./solr/configsets/ecommerce.zip “http://localhost:8983/api/cluster/configs/ecommerce” { “responseHeader”:{ “status”:0, “QTime”:27}}

epugh commented 2 years ago

thanks @Paul-Blanchaert the quickstart.sh had the PUT, but not the docs. Fixed the kata!