我将JSON插入到MongoDB中。以下是数百万条数据记录的片段。
{
"_id": ObjectId("5a015017c1016b72dda02b7a"),
"88": {
"10134": {
"Last visit": "2016-04-04",
"Frequency": 1,
"Avg days": "NaT",
"Annual Frequency": 1,
"First visit": "2016-04-04",
"Annual Expenditure": 100,
"Monetory": 100,
"Recency": 581,
"AvgLTV": 150.76923076923075,
"RFMClass": "344",
"Visit_Ids": [
140838
]
}
}
}

如何搜索具有特定user_id或merchant_id / user_id组合的所有记录?