From a8b1d354c04ccac080a176f07ff62efe27477d23 Mon Sep 17 00:00:00 2001 From: Justin Veloso <107990971+ThatDott@users.noreply.github.com> Date: Fri, 12 Jun 2026 05:13:00 +0800 Subject: [PATCH] docs: fix index output example to match ascending index This removes confusion since the preceding example was creating a single key ascending index, so should the results be --- content/manual/manual/source/core/indexes/create-index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manual/manual/source/core/indexes/create-index.txt b/content/manual/manual/source/core/indexes/create-index.txt index 30bb135fe98..a0eeb250c4f 100644 --- a/content/manual/manual/source/core/indexes/create-index.txt +++ b/content/manual/manual/source/core/indexes/create-index.txt @@ -85,7 +85,7 @@ are currently being built, run the [ { v: 2, key: { _id: 1 }, name: '_id_' }, - { v: 2, key: { name: -1 }, name: 'name_-1' } + { v: 2, key: { name: 1 }, name: 'name_1' } ] To check whether your index is building, use :pipeline:`$currentOp`