I think there is a event listener interface for hooking into Solr events such as post commit, post optimise and open new searcher. I can't remember on top of my head but if you do a search for *EventListener in Eclipse, you'll find it. The Wiki shows how to trigger snapshooter after each commit and optimise. You should be able to follow this example to create your own listener.
On Dec 11, 2007 1:03 PM, Tracy Flynn <[EMAIL PROTECTED]> wrote: > Hi, > > I'm interested in setting up simple replication. I've reviewed all the > Wiki information, looked at the scripts etc. and understand most of > what I see. > > There are some references to 'hooks in the code' for both the master > and slave nodes for handling replication. I've searched the 1.2 and > trunk code bases for obvious phrases, but I can't identify these hooks. > > Can someone please point me to the correct place(s) to look? > > Thanks, > > Tracy Flynn > -- Regards, Cuong Hoang