diff options
Diffstat (limited to 'jstests/core/fts_enabled.js')
-rw-r--r-- | jstests/core/fts_enabled.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/fts_enabled.js b/jstests/core/fts_enabled.js new file mode 100644 index 00000000000..8617caff59f --- /dev/null +++ b/jstests/core/fts_enabled.js @@ -0,0 +1,5 @@ +// Test that the textSearchEnabled server parameter works correctly (now deprecated). + +// Value true is accepted, value false is rejected. +assert.commandWorked(db.adminCommand({setParameter: 1, textSearchEnabled: true})); +assert.commandFailed(db.adminCommand({setParameter: 1, textSearchEnabled: false})); |