Hi guys, Lucene today tracks the index generation, which is incremented whenever changes are committed to the index. In LUCENE-4532 I needed to add epoch tracking, which is incremented whenever the index is being re-created. An index is considered to be re-created (for the use case in LUCENE-4532) either when you open IndexWriter with OpenMode.CREATE or when you call IndexWriter.deleteAll().
In LUCENE-4532 I did that through index commit data. I was wondering if others find this information useful, and whether we should add it to Lucene alongside the generation and version tracking. It's just another int/long, and is not supposed to complicate the code or add any runtime complexity. Thoughts? Shai
