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

    • 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

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment