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

dspace_statistics_api/indexer.py: Use fl parameter
All checks were successful
continuous-integration/drone/push Build is passing

I forgot to add the fl parameter to the downloads function.
This commit is contained in:
Alan Orth 2020-12-18 10:44:02 +02:00
parent 7e4d5f4b13
commit 4bbbaa4af3
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -130,6 +130,7 @@ def index_downloads():
solr_query_params = {
"q": "type:0",
"fq": "-isBot:true AND statistics_type:view AND bundleName:ORIGINAL",
"fl": "owningItem",
"facet": "true",
"facet.field": "owningItem",
"facet.mincount": 1,
@ -176,6 +177,7 @@ def index_downloads():
solr_query_params = {
"q": "type:0",
"fq": "-isBot:true AND statistics_type:view AND bundleName:ORIGINAL",
"fl": "owningItem",
"facet": "true",
"facet.field": "owningItem",
"facet.mincount": 1,