I just wondering whenever exist a way to read the unstored, but indexed field in Lucene index? I need because I have an index and I'm going to iterate over all documents in the index in order to apply some analysis and I need to update those documents later, in order to update I need first delete and when to re-insert the document. The problem is that I don't know whenever it's possible at all to read the unstored fields in order to copy them as is into updated document.
You can use Luke for an easy way to view the index. EDIT: I think I understand the problem now. Here is Andrzej Bialecki's proposed solution, which says: Create an index containing documents with just the new/modified fields. Each document in the original index will have a conjugate document with the calculated fields. Use a ParallelReader to search pairs of documents having the original and calculated fields.