Hi, i am assigned to work on a people-to-follow suggestion list in a social media app.
The list will be based on user contacts, facebook friends, people the user is interacting with, and nearby people according to geo-location. The people in the list are using the app but the user isn't currently following them.
I am confused between whether to choose nested type relationship or parent/child relationship to create mapping for indexing contacts.
After indexing, while preparing result i will be using scoring functions to prioritize some users over other.