Embodiments of the invention improve the quality of search results returned for a given set of search terms based on metadata associated with the user performing the search. A search query may specify metadata elements to consider in ranking the search results. The metadata used may include bookmarks set by the user (either locally or at a social bookmaking site), group bookmarks, etc. In such a case, search results may be reordered to improve the ranking of websites that are both in the search results and in the bookmarks.