[SERVER-8123] Text indexes are created as v:0 Created: 09/Jan/13  Updated: 11/Jul/16  Resolved: 09/Jan/13

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

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

> db.foo.ensureIndex({a:"text"})
> db.foo.getIndexes()
[
	{
		"v" : 1,
		"key" : {
			"_id" : 1
		},
		"ns" : "test.foo",
		"name" : "_id_"
	},
	{
		"v" : 0,
		"key" : {
			"_fts" : "text",
			"_ftsx" : 1
		},
		"ns" : "test.foo",
		"name" : "a_text",
		"weights" : {
			"a" : 1,
			"b" : 1
		},
		"default_language" : "english",
		"language_override" : "language"
	}
]
> 



 Comments   
Comment by auto [ 09/Jan/13 ]

Author:

{u'date': u'2013-01-09T22:08:24Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}

Message: SERVER-8123: text indexes should be v 1
Branch: master
https://github.com/mongodb/mongo/commit/641faecc1dfe888c1061b18d707665f027f221c4

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