summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilitsa Sotirova <militsa.sotirova@mongodb.com>2023-04-13 20:23:24 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-14 14:01:33 +0000
commite6428d5cd139778aa519e967722bdb4cc99fe010 (patch)
tree0c3dd651219f0965132dd1e65007ad1231d6e392
parente2c9d45b53a56ea48ff02bd9438b60edb6e5fdf4 (diff)
downloadmongo-e6428d5cd139778aa519e967722bdb4cc99fe010.tar.gz
SERVER-76098 Allow queries with search and non-simple collations
This reverts commit 8ce4b700cd8a2aac5a9a71cbbd7dab089bf7ad75.
-rw-r--r--src/mongo/db/pipeline/expression_context.h5
1 files changed, 0 insertions, 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;