Solr Statistics Settings

35 views
Skip to first unread message

Rachel Wang

unread,
Aug 26, 2025, 1:15:33 PM (12 days ago) Aug 26
to DSpace Technical Support
Hi DSpace Community,

I have a question regarding solr statistics and the field isBot. May I have your help to validate my understanding of the solr configuration solr-statistics.query.filter.isBot = true setting. 

When this line is commented out in the file solr-statistics.cfg, would that mean the isBot filter is enabled as a default setting in DSpace? I noticed that this is also the same in the file {dspace.dir}/config/modules/solr-statistics.cfg where the setting usage-statistics.logBots is also commented out. 

For further context, I explored the solr server dashboard and noted that there are solr queries using the isBot filter is returning documents, however I have been seeing inconsistencies with view/download counts. Therefore, I would like to verify my understanding of the solr statistics setup.

Thank you for reading my questions. I appreciate your help. 

Best Regards,
Rachel

DSpace Technical Support

unread,
Aug 27, 2025, 3:09:46 PM (11 days ago) Aug 27
to DSpace Technical Support
Hi Rachel, 

If ""solr-statistics.query.filter.isBot" is commented out, the default value is "true".  Here's where that is set in the codebase (the second param to "getBooleanProperty()" is the default value): https://github.com/DSpace/DSpace/blob/dspace-9_x/dspace-api/src/main/java/org/dspace/statistics/SolrLoggerServiceImpl.java#L1078-L1083

Tim

Rachel Wang

unread,
Aug 28, 2025, 10:14:05 AM (10 days ago) Aug 28
to DSpace Technical Support
Hi Tim,

Thank you for your help! We are preparing a few statistics requests and this helps us verify our findings. Super appreciate the response Tim! You rock!  🎉   🎉   🎉 

Take care,
Rachel
Reply all
Reply to author
Forward
0 new messages