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

Improve message for CREATECOLLECTION failure due to missing numShards

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.9
    • None
    • None
    • None

    Description

      Right now, a create collection call that looks like:

      ?action=CREATE&name=c1&collection.configname=myconf

      returns an error about numShards being a 'required' parameter. We should mention in the message about it being optional in case of compositeId router.
      This would get things to be on the same page as the documentation and make it less confusing for users.

      Attachments

        1. SOLR-6391.patch
          0.7 kB
          Anshum Gupta

        Activity

          People

            anshum Anshum Gupta
            anshum Anshum Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: