Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8123

Text indexes are created as v:0

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.2
    • Affects Version/s: None
    • Component/s: Text Search
    • None
    • ALL

      > 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"
      	}
      ]
      > 
      

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: