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

need docs / tests of the "rules" as far as collection names go

    XMLWordPrintableJSON

Details

    Description

      historically, the rules for "core" names have been vague but implicitly defined based on the rule that it had to be a valid directory path name - but i don't know that we've ever documented anywhere what the rules are for a "collection" name when dealing with the Collections API.

      I haven't had a chance to try this, but i suspect that using the Collections API you can create any collection name you want, and the zk/clusterstate.json data will all be fine, and you'll then be able to request anything you want from that collection as long as you properly URL escape it in your request URLs ... but we should have a test that tries to do this, and document any actual limitations that pop up and/or fix those limitations so we really can have arbitrary collection names.

      Attachments

        1. SOLR-6478.patch
          5 kB
          Anurag Sharma

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: