Changes to add GetTopDocs Functionality