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

Document (and fix) numShards and router selection parameter in SolrCloud

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • documentation, SolrCloud
    • None

    Description

      Right now numShards works in rather mysterious ways (unless you know how it works). We should clearly document the following:

      • If we start SolrCloud with bootstrapping, without mentioning numShards parameter, it defaults to 1 and also defaults the router to 'implicit'.
      • Mentioning numShards param, defaults the router to compositeId.
      • Though the bootstrap does not treat numShards as a required param, the Collection API does and throw an error if we don't specify numShards.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: