Andy Tran created SOLR-10267:
--------------------------------

             Summary: Solr SQL throws an error for collections with uppercase 
chars in name
                 Key: SOLR-10267
                 URL: https://issues.apache.org/jira/browse/SOLR-10267
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 6.3
            Reporter: Andy Tran


Team, I did some tests on a local Solr v6.3 instance where the curl works for 
`default` but fails for `BestBuy` collection:

~> curl --data-urlencode 'stmt=SELECT count(*) FROM BestBuy' 
http://localhost:8983/solr/BestBuy/sql?aggregationMode=facet
{"result-set":{"docs":[
{"EXCEPTION":"org.apache.solr.common.SolrException: Collection not found: 
bestbuy","EOF":true,"RESPONSE_TIME":0}]}}


~> curl --data-urlencode 'stmt=SELECT count(*) FROM default' 
http://localhost:8983/solr/default/sql?aggregationMode=facet
{"result-set":{"docs":[
{"count(*)":224736},
{"EOF":true,"RESPONSE_TIME":5}]}}

Can someone confirm this bug and remedy?  Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to