diff --git a/source/reference/method/sh.updateZoneKeyRange.txt b/source/reference/method/sh.updateZoneKeyRange.txt index 5be889d71ac..63cdeda7699 100644 --- a/source/reference/method/sh.updateZoneKeyRange.txt +++ b/source/reference/method/sh.updateZoneKeyRange.txt @@ -219,38 +219,6 @@ with the ``alpha`` zone: "alpha" ) -If you wanted to create a range on values of ``b`` only, you must specify -the entire range of ``a`` when creating ranges. For example, the following -operations create two ranges on ``b`` and associates them to the -``beta`` zone. - -.. note:: - - The previously defined range conflicts with the ranges defined in this - example. Issue the :method:`sh.removeRangeFromZone()` operation to remove an - existing conflicting range. - -.. code-block:: javascript - - sh.updateZoneKeyRange( - "exampledb.collection", - { a : MinKey, b : 1 }, - { a : MaxKey, b: 10 }, - "alpha" - ); - - sh.updateZoneKeyRange( - "exampledb.collection", - { a : MinKey, b : 10 }, - { a : MaxKey, b: 20 }, - "beta" - ); - -:bsontype:`MinKey` always compares as lower than every other possible value, -while :bsontype:`MaxKey` always compares as higher than every other possible -value. Using these special values for the lower and upper bounds of the range -captures the entire possible value space of ``a``. - .. _pre-define-zone-range-example: Pre-Define Zones and Zone Ranges for an Empty or Non-Existing Collection