diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2019-12-19 22:19:20 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-19 22:19:20 +0000 |
commit | 4b2c96acbfa413784f1eb0b1d416927754a430ad (patch) | |
tree | 3c26b1a9bbbf1e40c164bb7e3a9c3574dfb0a11a /src/mongo/db/matcher/expression_text_base.cpp | |
parent | aff2e09e657691ba4764c8a6cfb4630c364abdb0 (diff) | |
download | mongo-4b2c96acbfa413784f1eb0b1d416927754a430ad.tar.gz |
SERVER-43349 Accommodate double $nots during serialization
(cherry picked from commit 4d1ce1b892eef6f3926548a7b34d020a02eaee8a)
Diffstat (limited to 'src/mongo/db/matcher/expression_text_base.cpp')
-rw-r--r-- | src/mongo/db/matcher/expression_text_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/expression_text_base.cpp b/src/mongo/db/matcher/expression_text_base.cpp index 08f2ade599f..77262cf567d 100644 --- a/src/mongo/db/matcher/expression_text_base.cpp +++ b/src/mongo/db/matcher/expression_text_base.cpp @@ -56,7 +56,7 @@ void TextMatchExpressionBase::debugString(StringBuilder& debug, int indentationL debug << "\n"; } -void TextMatchExpressionBase::serialize(BSONObjBuilder* out) const { +void TextMatchExpressionBase::serialize(BSONObjBuilder* out, bool includePath) const { const fts::FTSQuery& ftsQuery = getFTSQuery(); out->append("$text", BSON("$search" << ftsQuery.getQuery() << "$language" << ftsQuery.getLanguage() |