Gus Heck created SOLR-18084:
-------------------------------

             Summary: Response for /admin/collections not completing (curl)
                 Key: SOLR-18084
                 URL: https://issues.apache.org/jira/browse/SOLR-18084
             Project: Solr
          Issue Type: Bug
            Reporter: Gus Heck


Today I was fiddling around trying to script something and of course was 
testing out curl commands, when I ran into odd behavior for 
{code:java}
/admin/collections?action=LIST&wt=json{code}
When I run the curl command it connects and returns the json just fine, but 
then seems to continue waiting as if it's still expecting more output. This 
does not happen with
{code:java}
/admin/info/system?wt=json {code}
This is signficant because I can't pipe the output to jq properly:
{code:java}
$ curl  http://localhost:8981/solr/admin/collections?action=LIST&wt=json | jq 
.collections
[1] 2627086
{
  "responseHeader":{
    "status":0,
    "QTime":1
  },
  "collections":[ ]
}[1]+  Done                    curl 
http://localhost:8981/solr/admin/collections?action=LIST
 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to