diff --git a/dspace_statistics_api/indexer.py b/dspace_statistics_api/indexer.py index e14e141..4787f9e 100644 --- a/dspace_statistics_api/indexer.py +++ b/dspace_statistics_api/indexer.py @@ -150,8 +150,6 @@ def index_views(): "json.nl": "map", # return facets as a dict instead of a flat list } - solr_url = SOLR_SERVER + "/statistics/select" - res = requests.get(solr_url, params=solr_query_params) # Solr returns facets as a dict of dicts (see json.nl parameter) @@ -233,8 +231,6 @@ def index_downloads(): "json.nl": "map", # return facets as a dict instead of a flat list } - solr_url = SOLR_SERVER + "/statistics/select" - res = requests.get(solr_url, params=solr_query_params) # Solr returns facets as a dict of dicts (see json.nl parameter)