diff options
Diffstat (limited to 'jstests/core/fts_index2.js')
-rw-r--r-- | jstests/core/fts_index2.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/fts_index2.js b/jstests/core/fts_index2.js index 1c8454002a7..3ae6e45214e 100644 --- a/jstests/core/fts_index2.js +++ b/jstests/core/fts_index2.js @@ -14,7 +14,7 @@ coll1.drop(); coll2.drop(); assert.commandWorked(coll1.insert({a: {b: "some content"}})); -assert.commandWorked(coll1.ensureIndex({"$**": "text"})); +assert.commandWorked(coll1.createIndex({"$**": "text"})); assert.eq(1, coll1.count({$text: {$search: "content"}})); // Rename within same database. |