dataimporthandler - Retrieving raw status output from solr admin -


i want write script compare results dataimporthandler earlier results in etl process. url use in solr is:

http://hostname:port/solr/#/corename/dataimport//dataimport 

the raw status-output has nice json output information need (documents fetched, etc) can't find anyway return json output. there argument can give url or something? can't parse page info need.

you can with: http://<host>:<port>/solr/dataimport?command=status&wt=json

if want pretty-printed output, pipe body of response python -mjson.tool


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -