I don't know of any way in Solr land. (One of the reasons for being able to
keep > 1 commit was to be able to deal with NFS semantics whereby files are
immediately deleted in contrast to the normal *x behavior of not deleting
until the last file handl is closed; that way you avoid 'stale file handle'
nastiness).

That said, an API which allows you to open an IndexSearcher to a previous
commit, or indeed to a snapshot saved in another subdirectory would be a
really useful improvement. Maybe an extension to the CoreAdmin API ?

-Simon

On Tue, Sep 6, 2011 at 5:16 PM, Emmanuel Espina <[email protected]>wrote:

> With SolrDeletionPolicy you can chose the number of "versions" of the index
> to store ( maxCommitsToKeep, it defaults to 1). Well, how can you revert to
> an arbitrary version that you have stored? Is there anything in Solr or in
> Lucene to pick the version of the index to load?
>
> Thank you
> Emmanuel
>

Reply via email to