From 07fb62484a27e3e464ecdd6c746de64e53e19e56 Mon Sep 17 00:00:00 2001 From: Militsa Sotirova Date: Thu, 13 Apr 2023 20:40:19 +0000 Subject: SERVER-76098 Allow queries with search and non-simple collations This reverts commit cf8792ea4ff3b0ab50c7779b1a44680a4bb9ce56. --- src/mongo/db/pipeline/expression_context.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mongo/db/pipeline/expression_context.h b/src/mongo/db/pipeline/expression_context.h index 32289466640..232df5486a3 100644 --- a/src/mongo/db/pipeline/expression_context.h +++ b/src/mongo/db/pipeline/expression_context.h @@ -431,11 +431,6 @@ public: // expression counting. bool enabledCounters = true; - // Returns true if the resolved collation of the context is simple. - bool isResolvedCollationSimple() const { - return getCollatorBSON().woCompare(CollationSpec::kSimpleSpec) == 0; - } - protected: static const int kInterruptCheckPeriod = 128; -- cgit v1.2.1