Reputation: 23161
I've run an optimize
command in SOLR (v7.6) with async=1
curl http://localhost:8983/solr/core/update?optimize=true&async=1
Can I check the status of this async request if I'm not using SolrCloud?
curl http://localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=1
{
"responseHeader":{
"status":400,
"QTime":2},
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"Solr instance is not running in SolrCloud mode.",
"code":400}}
Upvotes: 0
Views: 1267
Reputation: 52802
When you're not running in cloud mode, the request has to be made against the /admin/cores
endpoint instead:
http://localhost:8983/solr/admin/cores?action=REQUESTSTATUS&requestid=1
Upvotes: 1