From 450e921226407f7e2a323a4b3934ef191d523367 Mon Sep 17 00:00:00 2001 From: Jeremy Mack Date: Thu, 6 Sep 2012 13:32:09 -0300 Subject: [PATCH] Fixed "retail" being swapped with "MongoDB" --- source/use-cases/product-catalog.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/use-cases/product-catalog.txt b/source/use-cases/product-catalog.txt index 9add600aa6d..0db11551d73 100644 --- a/source/use-cases/product-catalog.txt +++ b/source/use-cases/product-catalog.txt @@ -360,8 +360,8 @@ order of the index does not matter. .. note:: If you want to preform range queries (e.g. "return all products - over $25") and then sort by another property like ``pricing.MongoDB``, - retail cannot use the index as effectively in this situation. + over $25") and then sort by another property like ``pricing.retail``, + MongoDB cannot use the index as effectively in this situation. The field that you want to select a range, or perform sort operations, must be the *last* field in a compound index in order