From e6428d5cd139778aa519e967722bdb4cc99fe010 Mon Sep 17 00:00:00 2001 From: Militsa Sotirova Date: Thu, 13 Apr 2023 20:23:24 +0000 Subject: SERVER-76098 Allow queries with search and non-simple collations This reverts commit 8ce4b700cd8a2aac5a9a71cbbd7dab089bf7ad75. --- 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 dcbe7016b56..2512351f1f6 100644 --- a/src/mongo/db/pipeline/expression_context.h +++ b/src/mongo/db/pipeline/expression_context.h @@ -537,11 +537,6 @@ public: return _requiresTimeseriesExtendedRangeSupport; } - // Returns true if the resolved collation of the context is simple. - bool isResolvedCollationSimple() const { - return getCollatorBSON().woCompare(CollationSpec::kSimpleSpec) == 0; - } - // Forces the plan cache to be used even if there's only one solution available. Queries that // are ineligible will still not be cached. bool forcePlanCache = false; -- cgit v1.2.1