How to use the information of the most recent segment generated by lucene?
===

I would like to use the information of segments generated by lucene, especially the recent generated one, in that I'm interested to use the term frequency and the co-word existence information within it. I have heard that "subReader" is useful to some extend, but i wonder whether it can solve my problem.

Thanks!