Re: An UpdateHandler to run following a MySql DataImport

2013-11-16 Thread Erick Erickson
Yep, that should work, never crossed my mind but it sure makes sense! Good sleuthing! Erick On Fri, Nov 15, 2013 at 9:15 AM, Dileepa Jayakody wrote: > I found out that you can configure any requestHandler to run a > requestProcessor chain. > So in my /dataimport requestHandler I just called m

Re: An UpdateHandler to run following a MySql DataImport

2013-11-15 Thread Dileepa Jayakody
I found out that you can configure any requestHandler to run a requestProcessor chain. So in my /dataimport requestHandler I just called my custom requestHandler as a chain; eg: data-config.xml *stanbolInterceptor* It works. Thanks, Dileepa On Fri, Nov 15, 2013 at 6:08 PM, Erick Erick

Re: An UpdateHandler to run following a MySql DataImport

2013-11-15 Thread Erick Erickson
Hmmm, don't quite know the answer to that, but when things start getting complex with DIH, you should seriously consider a SolrJ solution unless someone comes up with a quick fix. Here's an example. http://searchhub.org/2012/02/14/indexing-with-solrj/ Best, Erick On Fri, Nov 15, 2013 at 2:48 AM

An UpdateHandler to run following a MySql DataImport

2013-11-14 Thread Dileepa Jayakody
Hi All, I have written a custom update request handler to do some custom processing of documents and configured the /update handler to use my custom handler in the default: update.chain. The same requestHandler should be configured for the data-import-handler when it loads documents to solr index