Re: Adding index epoch tracking to Lucene

2012-11-06 Thread Michael McCandless
I'm not sure, but I think something in Solr's replication needed this information? And maybe that's why it uses timestamps today instead...? Mike McCandless http://blog.mikemccandless.com On Tue, Nov 6, 2012 at 3:09 AM, Shai Erera wrote: > Hi guys, > > Lucene today tracks the index generation

Adding index epoch tracking to Lucene

2012-11-06 Thread Shai Erera
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)