Re: Long Running Data Import Handler - Notifications

2015-12-10 Thread Shawn Heisey
On 12/8/2015 6:37 PM, Brian Narsi wrote: > Is there a way to receive notifications when a Data Import Handler finishes > up and whether it succeeded or failed. (typically runs about an hour) The code I have which uses DIH (full rebuilds of the index) must regularly get a status from DIH after it s

Re: Long Running Data Import Handler - Notifications

2015-12-08 Thread Stefan Matheis
https://wiki.apache.org/solr/DataImportHandler#EventListeners might be worth a look -Stefan On Wed, Dec 9, 2015 at 2:51 AM, Walter Underwood wrote: > Not that I know of. I wrote a script to check the status and sleep until > done. Like this: > > SOLRURL='http://solr-master.prod2.cloud.cheggnet.

Re: Long Running Data Import Handler - Notifications

2015-12-08 Thread Walter Underwood
Not that I know of. I wrote a script to check the status and sleep until done. Like this: SOLRURL='http://solr-master.prod2.cloud.cheggnet.com:6090/solr/textbooks/dataimport' while : ; do echo `date` checking whether Solr indexing is finished curl -s "${SOLRURL}" | fgrep '"status":"idle"