A search engine based on social networks