dspace_statistics_api/indexer.py: Use `fl` parameter
continuous-integration/drone/push Build is passing Details

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
1 changed files with 2 additions and 0 deletions

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,