title: Lucene - How to access the documents are a hit in the search?
body: <p>I am basically making a search engine. I have searched for a query and I have used QueryParser and now I have the no of hits for the query in TopDocs object. Now, how do I access the hit documents that I have got in the search. I want to display the those documents which are a hit. How do I do it! Any kind of help appreciated.</p>