1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-12-22 12:42:19 +01:00

indexer.py: Remove comment

I had left this there so I could remember how to get the number of
facets, but I don't need it anymore.
This commit is contained in:
Alan Orth 2018-09-26 23:27:48 +03:00
parent 379f202c3f
commit 2c1e4952b1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -81,9 +81,6 @@ def index_views():
'facet.offset':results_current_page * results_per_page
}, rows=0)
# check number of facets returned in the last query
#results_currentNumFacets = len(res.get_facets()['id'])
# SolrClient's get_facets() returns a dict of dicts
views = res.get_facets()
# in this case iterate over the 'id' dict and get the item ids and views