Is it possible to iterate through documents stored in Lucene Index?
IndexReader reader = // create IndexReader for (int i=0; i<reader.maxDoc(); i++) { if (reader.isDeleted(i)) continue; Document doc = reader.document(i); String docId = doc.get(“docId”); // do something with docId here… }