Have you read the Lucene in Action book? I think common cases like this are covered in there.
Lester Burnham
Rancher
Joined: Oct 14, 2008
Posts: 1337
posted
0
Something like Document doc = searcher.doc(hits[i].doc) will get you the matching document, from which you can get all information that you have stored in the index.
I second the suggestion to get Lucene in Action; it'll save you a lot of time if you're serious about using Lucene.
This message was edited 2 times. Last update was at by Lester Burnham
subject: print results of wildcard search in Lucene