Show relevance scores in Lucene 3.3.0
I have downloaded a fresh copy of Lucene and have installed it. I have also created the index out of it and currently using it for search. Currently, it returns list of retrieved results based on a given query.
I have two questions:
1. Currently Lucene results don't show me the relevance scores when I enter the query and press the ENTER key. Is there any way to see the relevance scores in search results of Lucene?
2. Can I save the search results along with the relevance score to a text file after entering the query?