summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts/fts_spec_legacy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/fts/fts_spec_legacy.cpp')
-rw-r--r--src/mongo/db/fts/fts_spec_legacy.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/fts/fts_spec_legacy.cpp b/src/mongo/db/fts/fts_spec_legacy.cpp
index 15739d8787d..f660c00f526 100644
--- a/src/mongo/db/fts/fts_spec_legacy.cpp
+++ b/src/mongo/db/fts/fts_spec_legacy.cpp
@@ -241,7 +241,9 @@ StatusWith<BSONObj> FTSSpec::_fixSpecV1(const BSONObj& spec) {
if (i->second <= 0 || i->second >= MAX_WORD_WEIGHT) {
return {ErrorCodes::CannotCreateIndex,
str::stream() << "text index weight must be in the exclusive interval (0,"
- << MAX_WORD_WEIGHT << ") but found: " << i->second};
+ << MAX_WORD_WEIGHT
+ << ") but found: "
+ << i->second};
}
b.append(i->first, i->second);
}