diff options
Diffstat (limited to 'jstests/core/fts_diacritic_and_caseinsensitive.js')
-rw-r--r-- | jstests/core/fts_diacritic_and_caseinsensitive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/fts_diacritic_and_caseinsensitive.js b/jstests/core/fts_diacritic_and_caseinsensitive.js index 107ff447ec9..1b8a2d0d1e0 100644 --- a/jstests/core/fts_diacritic_and_caseinsensitive.js +++ b/jstests/core/fts_diacritic_and_caseinsensitive.js @@ -14,7 +14,7 @@ coll.drop(); assert.commandWorked(coll.insert( {_id: 0, a: "O próximo Vôo à Noite sobre o Atlântico, Põe Freqüentemente o único Médico."})); -assert.commandWorked(coll.ensureIndex({a: "text"}, {default_language: "portuguese"})); +assert.commandWorked(coll.createIndex({a: "text"}, {default_language: "portuguese"})); assert.eq([0], queryIDS(coll, "proximo voo a", null)); assert.eq([0], queryIDS(coll, "átlántico", null)); |