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

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -