lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon <>
Subject Re: Rollback to old index stored with SolrDeletionPolicy
Date Tue, 06 Sep 2011 22:44:28 GMT
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'

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 ?


On Tue, Sep 6, 2011 at 5:16 PM, Emmanuel Espina <>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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message