[SERVER-12037] Add additional information to $text query explain Created: 11/Dec/13  Updated: 10/Aug/15  Resolved: 10/Aug/15

Status: Closed
Project: Core Server
Component/s: Text Search
Affects Version/s: 2.5.4
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Tyler Brock Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-19109 Refactor text stage into text scoring... Closed
Related
related to SERVER-10448 Revamp explain() formatting Closed
is related to SERVER-13019 nscannedObjects incorrect in explain ... Closed
Operating System: ALL
Sprint: Server 2.7.1, Server 2.7.3
Participants:

 Description   

>  db.foo.find({b:5, $text:{$search:"hello"}}).explain()
{
	"cursor" : "TextCursor",
	"n" : 0,
	"nscannedObjects" : 0,
	"nscanned" : 0,
	"nscannedObjectsAllPlans" : 0,
	"nscannedAllPlans" : 0,
	"scanAndOrder" : false,
	"nYields" : 0,
	"nChunkSkips" : 0,
	"millis" : 0,
	"server" : "Rassi-MacBook-Pro.local:27017",
	"stats" : {
		"type" : "FETCH",
		"works" : 1,
		"yields" : 0,
		"unyields" : 0,
		"invalidates" : 0,
		"advanced" : 0,
		"needTime" : 0,
		"needFetch" : 0,
		"isEOF" : 1,
		"alreadyHasObj" : 0,
		"forcedFetches" : 0,
		"matchTested" : 0,
		"children" : [
			{
				"type" : "TEXT",
				"works" : 1,
				"yields" : 0,
				"unyields" : 0,
				"invalidates" : 0,
				"advanced" : 0,
				"needTime" : 0,
				"needFetch" : 0,
				"isEOF" : 1,
				"keysExamined" : 0,
				"fetches" : 0,
				"children" : [ ]
			}
		]
	}
}
> 



 Comments   
Comment by J Rassi [ 10/Aug/15 ]

Closing as a duplicate of SERVER-19109.

Comment by Githook User [ 11/Mar/14 ]

Author:

{u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-12037 Text query stage correctly track various stage stats

The text query stage was previously not updating
needFetch/needTime/advanced.
Branch: master
https://github.com/mongodb/mongo/commit/410fb275704f7743cb0902baf85a5c6058fca25b

Comment by Githook User [ 19/Feb/14 ]

Author:

{u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}

Message: SERVER-12037 Show parsed text query for text stage explain
Branch: master
https://github.com/mongodb/mongo/commit/05c1dd31bbb2f5e039845031213f1b1f243d598f

Generated at Thu Feb 08 03:27:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.