def import_status(handler, host=None, core_name=None, verbose=False):
 if ((not _is_master()) and (_get_none_or_value(host) is None)):
  errors = ['solr.import_status can only be called by "master" minions']
  return _get_return_dict(False, errors=errors)
 extra = ['command=status']
 if verbose:
  extra.append('verbose=true')
 url = _format_url(handler, host=host, core_name=core_name, extra=extra)
 return _http_request(url)

def import_status ( handler , host = None , core_name = None , verbose = False ) : if ( ( not _is_master ( ) ) and ( _get_none_or_value ( host ) is None ) ) : errors = [ 'solr.import_status can only be called by "master" minions' ] return _get_return_dict ( False , errors = errors ) extra = [ 'command=status' ] if verbose : extra . append ( 'verbose=true' ) url = _format_url ( handler , host = host , core_name = core_name , extra = extra ) return _http_request ( url )
submits an import command to the specified handler using specified options .