From 4658fb50009c5de09da9a29879f7219508355564 Mon Sep 17 00:00:00 2001 From: Ramon Fernandez Date: Sun, 21 Dec 2014 19:03:46 +0100 Subject: [PATCH] SERVER-16550 non-text keys in compound text indexes can't be used to sort --- source/includes/fact-compound-index-with-text-restrictions.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/includes/fact-compound-index-with-text-restrictions.rst b/source/includes/fact-compound-index-with-text-restrictions.rst index d73dea17774..9f238f8cbd7 100644 --- a/source/includes/fact-compound-index-with-text-restrictions.rst +++ b/source/includes/fact-compound-index-with-text-restrictions.rst @@ -5,3 +5,5 @@ such as :ref:`multi-key ` or :ref:`geospatial If the compound ``text`` index includes keys **preceding** the ``text`` index key, to perform a :query:`$text` search, the query predicate must include **equality match conditions** on the preceding keys. + +The additional keys cannot be used to produce a sort.