Re: Index corrupted detection from http get command.

2013-05-11 Thread Michel Dion
> in your environment? That's a very unusual occurrence that would be good > to have identified in gory detail if you can. > > Erik > > On May 7, 2013, at 20:04 , Michel Dion wrote: > > > Hello, > > > > I'm look for a way to detect solr index

Re: Index corrupted detection from http get command.

2013-05-10 Thread Michel Dion
Thanks for your help. On Thu, May 9, 2013 at 7:35 PM, Erick Erickson wrote: > There's no way to do this that I know of. There's the checkindex > tool, but it's fairly expensive resource-wise and there's no HTTP > command to do it. > > Best > Erick >

Index corrupted detection from http get command.

2013-05-07 Thread Michel Dion
Hello, I'm look for a way to detect solr index corruption using a http get command. I've look at the /admin/ping and /admin/luke request handlers but not sure if the their status provide guarantees that everything is all right. The idea is to be able to tell a load balancer to put a given solr ins

Re: SOLR Cloud : what is the best backup/restore strategy ?

2013-01-07 Thread Michel Dion
Is it possible to restore an index (previously backed up) using the same kind of http reste like request ? Something like ...solr/replication?command=restore ? On Mon, Jan 7, 2013 at 2:12 PM, Mark Miller wrote: > You should be able to continue indexing fine - it will just keep a point > in time

Re: Loading custom update request handler on startup

2012-07-10 Thread Michel Dion
Another approach would be to use an external application executed by a cron or some scheduler that would post the file to solr using the class. org.apache.solr.util.SimplePostTool SimplePostTool postTool = new SimplePostTool(new URL(SOLR_URL)); for (File file : outputDir.listFiles(/* smoe filte