[ 
https://issues.apache.org/jira/browse/SOLR-18084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gus Heck updated SOLR-18084:
----------------------------
    Description: 
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 -s 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}
vs
{code:java}
$ curl -s http://localhost:8981/solr/admin/info/system?wt=json | jq -r 
.jvm.version
21.0.5 21.0.5+11-LTS {code}

  was:
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}


> Response for /admin/collections not completing (curl)
> -----------------------------------------------------
>
>                 Key: SOLR-18084
>                 URL: https://issues.apache.org/jira/browse/SOLR-18084
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: main(11.0)
>            Reporter: Gus Heck
>            Priority: Major
>
> 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 -s 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}
> vs
> {code:java}
> $ curl -s http://localhost:8981/solr/admin/info/system?wt=json | jq -r 
> .jvm.version
> 21.0.5 21.0.5+11-LTS {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