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

Improve message for CREATECOLLECTION failure due to missing numShards

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.9
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

            • Assignee:
              anshumg Anshum Gupta
              Reporter:
              anshumg Anshum Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: