I have a users collections in mongodb similar to the following.
{
_id:ObjectID,
score1:Number,
score2:Number,
score3:Number
}
For a given user, how can I find the top K users with the minimum euclidean distance on the three scores? I am using MongoDB and NodeJS.