summaryrefslogtreecommitdiff
path: root/jstests/core/fts_index3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/fts_index3.js')
-rw-r--r--jstests/core/fts_index3.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/jstests/core/fts_index3.js b/jstests/core/fts_index3.js
index 62b9fe72e56..ac4730d0bd0 100644
--- a/jstests/core/fts_index3.js
+++ b/jstests/core/fts_index3.js
@@ -3,7 +3,6 @@
// key.
// @tags: [
// assumes_unsharded_collection,
-// requires_fcv_60,
// ]
// Test that updates to fields in a text-indexed document are correctly reflected in the text index.
@@ -111,11 +110,6 @@ assert.commandWorked(coll.update({}, {$set: {"a.language": "en"}}));
assert.eq(0, coll.find({$text: {$search: "testing", $language: "es"}}).itcount());
assert.eq(1, coll.find({$text: {$search: "testing", $language: "en"}}).itcount());
-// SERVER-78238: index with a dotted path should not index fields with a dot inside that make it
-// look like a dotted path.
-assert.commandWorked(coll.insert({"a.b": "ignored"}));
-assert.eq(0, coll.find({$text: {$search: "ignored"}}).itcount());
-
// 10) Same as #9, but with a wildcard text index.
coll = db.getCollection(collNamePrefix + collCount++);
coll.drop();
@@ -127,11 +121,6 @@ assert.commandWorked(coll.update({}, {$set: {"a.language": "en"}}));
assert.eq(0, coll.find({$text: {$search: "testing", $language: "es"}}).itcount());
assert.eq(1, coll.find({$text: {$search: "testing", $language: "en"}}).itcount());
-// SERVER-78238: index with a wildcard should not index fields with a dot inside or starting with $.
-assert.commandWorked(coll.insert({"a.b": "ignored"}));
-assert.commandWorked(coll.insert({"$personal": "ignored"}));
-assert.eq(0, coll.find({$text: {$search: "ignored"}}).itcount());
-
// 11) Create a text index on a single field with a custom language override, insert a document,
// update the language of the document (so as to change the stemming), and verify that $text with
// the new language returns the document.