Re: SnapshotDeletionPolicy API changes

2014-01-24 Thread Michael McCandless
It added complexity, for Lucene to track the app-provided ID. And, it's something you can easily add back on top of the new API, if necessary. But, maintaining multiple snapshots is certainly still allowed: multiple snapshots referencing the same IndexCommit is fine. There is a ref count increme

SnapshotDeletionPolicy API changes

2014-01-24 Thread Vitaly Funstein
I see that SnapshotDeletionPolicy no longer supports snapshotting by an app-supplied string id, as of Lucene 4.4. However, my use case relies on the policy's ability to maintain multiple snapshots simultaneously to provide index versioning semantics, of sorts. What is the new recommended way of doi