Hi All, We are in a process for conversion of Lucene from 2.4.0 to 8.11.2 for our platform code. We have used extensively Lucene in our code.
We have replaced several of our code to Lucene 8.11.2 APIs. But, few places, we are stuck of which New Lucene APIs to use, as not getting any suitable match. Can somebody help me, how we can convert below code using Lucene 2.4.0 to 8.11.2? ProcessDocs(IndexReader reader, Term t) { final TermDocs termDocs = reader.termDocs(); termDocs.seek(t); while (termDocs.next()) { //Some internal function to process the doc. forEach.process(termDocs.doc()); } } Regards Rajib