Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10267

Solr SQL throws an error for collections with uppercase chars in name

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 6.3
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            andy.tran Andy Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment