summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_legacy.cpp
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2013-12-13 13:51:34 -0500
committerJason Rassi <rassi@10gen.com>2013-12-13 14:01:30 -0500
commitd07f4b8115c21449d691e056f264f6f3d7d2d7f4 (patch)
tree8f4e1ffbfe3735cbaaa07866f8cbb054db9e115a /src/mongo/db/index_legacy.cpp
parentf5bc2c78e4e14785e0a39970d4163ebb062d05f9 (diff)
downloadmongo-d07f4b8115c21449d691e056f264f6f3d7d2d7f4.tar.gz
SERVER-10913 textSearchEnabled parameter deprecated, rejects false
Diffstat (limited to 'src/mongo/db/index_legacy.cpp')
-rw-r--r--src/mongo/db/index_legacy.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/index_legacy.cpp b/src/mongo/db/index_legacy.cpp
index 37f9be430f8..681844a6128 100644
--- a/src/mongo/db/index_legacy.cpp
+++ b/src/mongo/db/index_legacy.cpp
@@ -29,7 +29,6 @@
#include "mongo/db/index_legacy.h"
#include "mongo/db/client.h"
-#include "mongo/db/fts/fts_enabled.h"
#include "mongo/db/fts/fts_spec.h"
#include "mongo/db/index_names.h"
#include "mongo/db/index/hash_access_method.h"
@@ -43,13 +42,6 @@ namespace mongo {
string pluginName = IndexNames::findPluginName(obj.getObjectField("key"));
if (IndexNames::TEXT == pluginName) {
- StringData desc = cc().desc();
- if (desc.find("conn") == 0) {
- // this is to make sure we only complain for users
- // if you do get a text index created an a primary
- // want it to index on the secondary as well
- massert(16811, "text search not enabled", fts::isTextSearchEnabled() );
- }
return fts::FTSSpec::fixSpec(obj);
}