Re: communication between entity processor and solr DataImporter

2011-02-09 Thread Erick Erickson
ebruary 9, 2011 3:50:05 PM > Subject: communication between entity processor and solr DataImporter > > Hi, > > I'd like to communicate errors between my entity processor and the > DataImporter > in case of error. > > Should there be an error in my entity processor, I'

Re: communication between entity processor and solr DataImporter

2011-02-09 Thread Tri Nguyen
I can throw DataImportHandlerException (a runtime exception) from my entityprocessor which will force a rollback. Tri From: Tri Nguyen To: solr-user@lucene.apache.org Sent: Wed, February 9, 2011 3:50:05 PM Subject: communication between entity processor and

communication between entity processor and solr DataImporter

2011-02-09 Thread Tri Nguyen
Hi, I'd like to communicate errors between my entity processor and the DataImporter in case of error. Should there be an error in my entity processor, I'd like the index build to rollback. How can I do this? I want to throw an exception of some sort.  Only thing I can think of is to force a r