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

Combine 'node', 'createNodeSet' parameters for ADDREPLICA API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The ADDREPLICA "collection-admin" API has two parameters that are redundant with one another:

      • node exists for users to explicitly specify the node to place the new replica on.
      • createNodeSet lets users specify a number of nodes that Solr will then choose a "winner" from.

      When createNodeSet's value is a single node though, it behaves identically to using the separate node option (AFAIK).

      If this is truly the case (and I'm not just missing something), we should deprecate node and instead direct all users to use createNodeSet instead.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gerlowskija Jason Gerlowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: