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

Improve message for CREATECOLLECTION failure due to missing numShards

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

    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

          Activity

            People

            • Assignee:
              anshum Anshum Gupta
              Reporter:
              anshum Anshum Gupta

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment