1. A method comprising: receiving, by a processor, a search query, the search query received from a user device of a first user of a social network; analyzing, by the processor, content within groups of the social network, wherein each group is associated with at least one of one or more owners or one or more administrators; identifying, based on analyzed content within the groups, one or more of the groups that have content related to the search query, wherein each group includes one or more posts received from one or more members of a respective group, and wherein identifying the one or more groups comprises: examining at least one of the one or more posts or metadata associated with the at least one of the one or more posts, and identifying a respective group with a majority or total amount of members that have posted content matching the search query in the respective group; and ranking, by the processor, the identified groups for presentation of the identified groups in a ranked order on the user device of the first user in response to the search query, the ranked order of each group being based on a corresponding majority or total amount of members that have posted content matching the search query, and wherein ranking of the identified group is based at least on a weighted combination of two or more of: a match between languages used within the groups by members of the groups and a preference language of the first user, the languages used to express the content, an amount of spam within the groups, numbers of members joining and leaving the groups within a time period, or ratios of numbers of posts made within the groups by members of the groups and numbers of the members.