blob: 8617caff59f177292f9e34b109a6b2998d6afc75 (
plain)
1
2
3
4
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}));
|