Adding related metadata to search results