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

Text indexes are created as v:0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2
    • Component/s: Text Search
    • Labels:
      None
    • Operating System:
      ALL

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: