The feedback terms are generated using a pseudo-relevance feedback approach by considering the top 50 documents in a large collection, based on factors such as count and position of the terms in the documents, document rank, occurrence of query terms within the input phrase, etc.