Folks, We've been using a handful of in-house scripts to directly query SOLR in order to monitor Item views, bitstream downloads, and generate various statistics reports. This was working fine up through DSpace 3.3, however, following our upgrade to DSpace 4.3 this past June, it was discovered that SOLR is returning "0" for Item page views. At the same time, we're still seeing DSpace's built-in statistics on the Collection and Item levels as if all is well.
An example query would be like so: http://localhost:8080/solr/statistics/select/?indent=on&wt=php&?version=2.2&facet=true&facet.field=id&facet.limit=20&fq=owningColl:359&fq=isBot:false&q=type:2&fq=(time:[2015-06-22T00:00:00.000Z%20TO%202015-12-01T00:00:00.000Z]) The results look like this: array( 'responseHeader'=>array( 'status'=>0, 'QTime'=>3, 'params'=>array( 'facet'=>'true', 'indent'=>'on', 'q'=>'type:2', 'facet.limit'=>'20', 'facet.field'=>'id', 'wt'=>'php', 'fq'=>array('owningColl:359', 'isBot:false', '(time:[2015-06-23T00:00:00.000Z TO 2015-12-01T00:00:00.000Z])'), '?version'=>'2.2')), 'response'=>array('numFound'=>0,'start'=>0,'docs'=>array() ), 'facet_counts'=>array( 'facet_queries'=>array(), 'facet_fields'=>array( 'id'=>array( '1'=>0, '100'=>0, '1000'=>0, '10000'=>0, '10001'=>0, '10002'=>0, '10003'=>0, '10004'=>0, '10005'=>0, '10006'=>0, '10007'=>0, '10008'=>0, '10009'=>0, '1001'=>0, '10010'=>0, '10011'=>0, '10012'=>0, '10013'=>0, '10014'=>0, '10015'=>0)), 'facet_dates'=>array(), 'facet_ranges'=>array())) It 'id' array for facet_fields is what we're specifically interested in. As a side note, I should point out that in order to buy ourselves more time with adopting Discovery into our theme, we're running DSpace 4 with Discovery disabled. I have a test DSpace 5 instance with everything converted over, but am still seeing the same results from the above SOLR query. Thoughts? -Jeff -- 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.
