So the next question I have is I am building a use...
# community-help
p
So the next question I have is I am building a user search. Users can belong to groups, so I can store the array of group IDs that each user belongs to in each document. Is there a way to do a search where we the results are sorted by documents with at least one overlapping value first and then by proximity to the geopoint? What I'm trying to accomplish are search results where the users who have at least one group in common with the user performing the search are at the top.