-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
ALL
-
QE 2023-11-13
version: 6.0.8
dataset:
{ "_id" : ObjectId("64dc9c1ecfae2bd697a5b725"), "_widget_1692174497931" : "视频号❤️", "_widget_1692174497932" : 1 },
{ "_id" : ObjectId("64dc9c2f77859fe282e9491a"), "_widget_1692174497931" : "视频号❤", "_widget_1692174497932" : 2 }
case1:
db.data.aggregate([
{
$match:
}
], {
collation:
})
result:
,
case2:
db.data.aggregate([
{
$match:
}
])
result
The two cases are only collation.locale different。I'm guessing it might have something to do with Unicode
❤️ \u2764\ufe0f
❤ \u2764
Looking forward to your response!Thanks