diff options
Diffstat (limited to 'src/mongo/db/matcher/expression_text_base.cpp')
-rw-r--r-- | src/mongo/db/matcher/expression_text_base.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/matcher/expression_text_base.cpp b/src/mongo/db/matcher/expression_text_base.cpp index ea3fa147de2..08f2ade599f 100644 --- a/src/mongo/db/matcher/expression_text_base.cpp +++ b/src/mongo/db/matcher/expression_text_base.cpp @@ -60,10 +60,8 @@ void TextMatchExpressionBase::serialize(BSONObjBuilder* out) const { const fts::FTSQuery& ftsQuery = getFTSQuery(); out->append("$text", BSON("$search" << ftsQuery.getQuery() << "$language" << ftsQuery.getLanguage() - << "$caseSensitive" - << ftsQuery.getCaseSensitive() - << "$diacriticSensitive" - << ftsQuery.getDiacriticSensitive())); + << "$caseSensitive" << ftsQuery.getCaseSensitive() + << "$diacriticSensitive" << ftsQuery.getDiacriticSensitive())); } bool TextMatchExpressionBase::equivalent(const MatchExpression* other) const { |