From 4b839fdcc084bd66df18c81f88e052ea59061d92 Mon Sep 17 00:00:00 2001 From: Gianfranco Palumbo Date: Thu, 9 Oct 2014 08:57:07 -0400 Subject: [PATCH] $explain forces MongoDB to re-evaluate all query plans --- source/core/query-plans.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/core/query-plans.txt b/source/core/query-plans.txt index dcf8bac7ad6..cd5b65bcc09 100644 --- a/source/core/query-plans.txt +++ b/source/core/query-plans.txt @@ -88,6 +88,8 @@ plan and re-evaluates after any of the following events: - The :program:`mongod` process restarts. +- You run a query with :method:`~cursor.explain(). + Cached Query Plan Interface ---------------------------