Solr
  1. Solr
  2. SOLR-6391

Improve message for CREATECOLLECTION failure due to missing numShards

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

      1. SOLR-6391.patch
        0.7 kB
        Anshum Gupta

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1619263 from Anshum Gupta in branch 'dev/trunk'
        [ https://svn.apache.org/r1619263 ]

        SOLR-6391: Improve message for CREATECOLLECTION failure due to missing numShards

        Show
        ASF subversion and git services added a comment - Commit 1619263 from Anshum Gupta in branch 'dev/trunk' [ https://svn.apache.org/r1619263 ] SOLR-6391 : Improve message for CREATECOLLECTION failure due to missing numShards
        Hide
        ASF subversion and git services added a comment -

        Commit 1619264 from Anshum Gupta in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1619264 ]

        SOLR-6391: Improve message for CREATECOLLECTION failure due to missing numShards (merge from trunk)

        Show
        ASF subversion and git services added a comment - Commit 1619264 from Anshum Gupta in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1619264 ] SOLR-6391 : Improve message for CREATECOLLECTION failure due to missing numShards (merge from trunk)

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development