Solr
  1. Solr
  2. SOLR-6670

change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      JIRA for Jan's comments on SOLR-6513:

      I thought we agreed to prefer the term "shard" over "slice", so I think we should do this for this API as well.
      The only place in our refguide we use the word "slice" is in How SolrCloud Works [1] and that description is disputed.
      The refguide explanation of what a shard is can be found in Shards and Indexing Data in SolrCloud [2], quoting:
      When your data is too large for one node, you can break it up and store it in sections by creating one or more shards. Each is a portion of the logical index, or core, and it's the set of all nodes containing that section of the index.
      So I'm proposing a rename of this API to BALANCESHARDUNIQUE and a rewrite of [1].
      [1] https://cwiki.apache.org/confluence/display/solr/How+SolrCloud+Works
      [2] https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud

      Note Mark's comment on that JIRA, but I think it would be best to continue to talk about "shards" with user-facing operations.

      1. SOLR-6670.patch
        20 kB
        Erick Erickson

        Activity

        Hide
        Erick Erickson added a comment -

        I don't see any problem with changing this even though it'll change the names of a couple of parameters to the collections API since it hasn't been released yet.

        I'll be checking these changes in today probably.

        Show
        Erick Erickson added a comment - I don't see any problem with changing this even though it'll change the names of a couple of parameters to the collections API since it hasn't been released yet. I'll be checking these changes in today probably.
        Hide
        Erick Erickson added a comment -

        renames BANALCESLICEUNIQUE to BALANCESHARDUNIQUE. Also, the "sliceUnique" parameter for ADDREPLICAPROP is now shardUnique.

        Show
        Erick Erickson added a comment - renames BANALCESLICEUNIQUE to BALANCESHARDUNIQUE. Also, the "sliceUnique" parameter for ADDREPLICAPROP is now shardUnique.
        Hide
        ASF subversion and git services added a comment -

        Commit 1636226 from Erick Erickson in branch 'dev/trunk'
        [ https://svn.apache.org/r1636226 ]

        SOLR-6670: change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE

        Show
        ASF subversion and git services added a comment - Commit 1636226 from Erick Erickson in branch 'dev/trunk' [ https://svn.apache.org/r1636226 ] SOLR-6670 : change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE
        Hide
        ASF subversion and git services added a comment -

        Commit 1636252 from Erick Erickson in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1636252 ]

        SOLR-6670: change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE

        Show
        ASF subversion and git services added a comment - Commit 1636252 from Erick Erickson in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1636252 ] SOLR-6670 : change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE
        Hide
        Erick Erickson added a comment -

        thanks for pointing that out Jan!

        Show
        Erick Erickson added a comment - thanks for pointing that out Jan!
        Hide
        ASF subversion and git services added a comment -

        Commit 1636363 from Erick Erickson in branch 'dev/trunk'
        [ https://svn.apache.org/r1636363 ]

        SOLR-6670: change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE. corrected typo

        Show
        ASF subversion and git services added a comment - Commit 1636363 from Erick Erickson in branch 'dev/trunk' [ https://svn.apache.org/r1636363 ] SOLR-6670 : change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE. corrected typo
        Hide
        ASF subversion and git services added a comment -

        Commit 1636364 from Erick Erickson in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1636364 ]

        SOLR-6670: change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE. corrected typo

        Show
        ASF subversion and git services added a comment - Commit 1636364 from Erick Erickson in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1636364 ] SOLR-6670 : change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE. corrected typo

          People

          • Assignee:
            Erick Erickson
            Reporter:
            Erick Erickson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development