-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:
*Location*: http://docs.mongodb.org/manual/reference/method/cursor.explain/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:22.0) Gecko/20100101 Firefox/22.0
*Referrer*: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CC8QFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Fmethod%2Fcursor.explain&ei=jj_5UbD6E6atiQL18IGIDg&usg=AFQjCNHsDNPDNNi7vSzwg1WbNa8AEW545A&sig2=42T_CV3rGq5CYt5pZILZMA&bvm=bv.49967636,d.cGE
*Screen Resolution*: 2347 x 1320
*repo*: docs
*source*: reference/method/cursor.explain
*Location*: http://docs.mongodb.org/manual/reference/method/cursor.explain/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:22.0) Gecko/20100101 Firefox/22.0 *Referrer*: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CC8QFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Fmethod%2Fcursor.explain&ei=jj_5UbD6E6atiQL18IGIDg&usg=AFQjCNHsDNPDNNi7vSzwg1WbNa8AEW545A&sig2=42T_CV3rGq5CYt5pZILZMA&bvm=bv.49967636,d.cGE *Screen Resolution*: 2347 x 1320 *repo*: docs *source*: reference/method/cursor.explain
explain.scanAndOrder
scanAndOrder is a boolean that is "true" when the query cannot use the index for returning sorted results.
When true, MongoDB must sort the documents after it retrieves them from either an index cursor or a cursor that scans the entire collection.
I think the first "true" should be "false"