Thank you for your response.
Unfortunately, I do need the frequency for all the hits. I downloaded your
patch, and ofter applying it, It works! Thank you very much.
How ever, I could not apply the patch using the patch command (I am on
windows and using UnxUtils, could this be the problem). I had
Do you need this for a single document, eg for debugging? If so,
IndexSearcher.explain can give you these details.
If you need it for all hits, then Lucene does not make that easy
today, which is somewhat frustrating because this information (freq of
occurrence of each clause matching the current