programattically register commit/optimize callbacks

2008-06-25 Thread Ryan McKinley
How do you all feel about exposing access to the commit/optimize callbacks in UpdateHandler? Perhaps adding the functions: void registerCommitCallback( SolrEventListener ); void registerCommitCallback( SolrEventListener ); and/or maybe: CollectionSolrEventListener getCommitCollbacks();

Re: programattically register commit/optimize callbacks

2008-06-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
good idea. The first set of methods are fine. Returning a modifiable collection is not 'good design' void registerCommitCallback( SolrEventListener listener); void registerOptimizeCallback( SolrEventListener listener); Similarly we must also add void registerQueryResponseWriter(String wt,