Dear Genevieve, The bot part of Jose's query is correct because it is negated. Having said that, I also agree that using "isBot:false" is easier to understand than "-isBot:true".
The issue is that "type:0" is for item downloads—essentially "views" of bitstreams. He should be using "type:2" for item aka page views. I learned this when I was writing my DSpace Statistics API a few months back¹. See the DSpace wiki's Solr page for more information². Regards, ¹ https://github.com/ilri/dspace-statistics-api/blob/v0.9.0/dspace_statistics_api/indexer.py#L128 ² https://wiki.duraspace.org/display/DSPACE/Solr On Sun, Mar 3, 2019 at 11:11 PM <[email protected]> wrote: > Change isBot:true to isBot:false . The statistics on the page show where > they aren't bots, your query asks for where they are bots. > > On Saturday, 2 March 2019 00:37:16 UTC+11, Jose Antonio Galeano Cardenas > wrote: >> >> Hi! In the usage statistics on DSpace I get a total views of 136 but when >> I do a Solr Query I get 155. What may I be doing wrong? >> DSpace Item Usage Statistics: >> >> >> Solr QUERY: >> >> select?indent=on&rows=0&q=type:0+owningItem:c97292cc-d639-4d38-8531-892b3d719138&fq=-isBot:true&fq=statistics_type:view >> >> -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- Alan Orth [email protected] https://picturingjordan.com https://englishbulgaria.net https://mjanja.ch "In heaven all the interesting people are missing." ―Friedrich Nietzsche -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
