Re: DIH and UpdateRequestProcessor#finish

2009-07-31 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, Aug 1, 2009 at 6:56 AM, Erik Hatcher wrote: > Shouldn't DIH, I presume in either SolrWriter or DataImportHandler, call > processor.finish()? soon after commit DIH should call finish. > > Maybe DataImportHandler should subclass ContentStreamHandlerBase, which > calls #finish already.  This

Re: DIH and UpdateRequestProcessor#finish

2009-07-31 Thread Erik Hatcher
And just to fill in the blanks that I missed before, DataImportHandler currently does handle a single content stream. One stream is pretty much all I've ever used, but there can be more than one and it would seem rude for a handler to ignore them. I still think subclassing ContentStreamHan

DIH and UpdateRequestProcessor#finish

2009-07-31 Thread Erik Hatcher
Shouldn't DIH, I presume in either SolrWriter or DataImportHandler, call processor.finish()? Maybe DataImportHandler should subclass ContentStreamHandlerBase, which calls #finish already. This would mean we implement a new ContentStreamLoader. This would allow DIH to hand the streams off