: Subject: Any way to recover a corrupt index from a "live" IndexReader?

There are wasy in code to read from an IndexReader to populate a new index 
(ie: using the MergeIndex class) but i don't know of anyway to do that 
from a running JVM.

I suppose in theory there is probably a way to write a custom request 
handler can get a direct refrence to SolrCore/IndexReader that is not the 
one that loaded it (via the CoreContainer, or SolrDispatchFilter, or if 
nothing else by looking at the FieldCache keys since they are kept in a 
static Map) and if you get that working then in theory you could load a 
new core that used that custom request handler to "merge" some the 
IndexReader from some other core into a new (ie: empty) index.

But i don't know anyone whose ever done anything like that ... it's sort 
of like trying to change the oil in a plane while it's flying.



-Hoss

Reply via email to