dcsimg

How do I get the last document added that has a particular term?

Otis Gospodnetic

Call:
TermDocs td = IndexReader.termDocs(Term);

Then grab the last Term in TermDocs that this method returns.