Mongo DB duplication issue while using sorting with limit and skip in aggregation
问题 Facing an issue of duplicate records while fetching record by sorting with skip and limit: Collection Data: { "_id" : ObjectId("594b507c9b9469ec9da6a78b"), "name" : "F", "percentage" : 60.0, "weightedFilter" : 2.0, "like" : 1.0, "attraction" : 1.0 } { "_id" : ObjectId("594b507c9b9469ec9da6a78c"), "name" : "I", "percentage" : 80.0, "weightedFilter" : 0.0, "like" : 1.0, "attraction" : 1.0 } { "_id" : ObjectId("594b507c9b9469ec9da6a78d"), "name" : "J", "percentage" : 80.0, "weightedFilter" : 1.0