Thank you so much Bruno for response and now I understand to run Solr Query.
Below query I got from solr.log file :
2016-09-19 15:57:44,851 INFO org.apache.solr.core.SolrCore @ [statistics]
hits=23 status=0 QTime=4
*I run *:
Got response but not able see total hits / view which I see at solr logs
that is "hits=23".
Where I can get only "hits=23" response from solr query?
Hope you understand what I'm looking for :)
Many Thanks ...
On Sun, Sep 18, 2016 at 10:02 PM, Bruno Nocera Zanette <
> There are some important details that need to be addressed here.
> First, by default, solr is only accessible on localhost. This means that
> you won't be able to query demo.dspace.org statistics. You'll need to
> install a dspace instance on some of your servers and access it from the
> same network. I recommend you to take a look at this:
> The query itself is made using SOLR query syntax (
> https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Solrqueries). I don't
> fully understand it to be able to explain it to you, but there's a nice
> trick you can use to get the right queries. That trick is to use the
> solr.log file ([install-dir]/log/solr.log) to extract the queries used by
> xmlui interface. All you have to do is to access some statistic page on
> xmlui and read the last lines on the log file, where will be logged all the
> parameters used to get the informations used on xmlui page.
> Using this method, i've ended on the following URL to get view statistcs
> on an item:
> You can also use the SOLR interface to test the queries (
> https://localhost:8443/solr/#/statistics/query). I'm sending a
> printscreen of this page filled with the parameters that generated the URL.
> Lastly, you will need to find a way to parse and use the response and
> maybe create a script to automatically generate the parameters and queries'
> url. That directly depends on what language/framework you're using, so i
> won't be able to help you with this, but it shouldn't be hard to get this
> I hope this helps you! Cheers!
> Em dom, 18 de set de 2016 às 09:14, Faiyaz Ahmed <faiyazahmed...@gmail.com>
>> Waiting for hope ....
>> On Tuesday, September 6, 2016 at 2:14:00 PM UTC+5, Faiyaz Ahmed wrote:
>>> Hello EveryOne.
>>> Hope every one is doing well :)
>>> I need some help regarding Solr Query of download and view of a file. As
>>> you can see at : http://demo.dspace.org/xmlui/
>>> I need to filter on Total Visits and Total Downloads. How I can do that.
>>> I need to create report in another page.
>>> Does any one have idea how this code or solr query works on total
>>> download and total views.
>>> Faiyaz Ahmed
>> 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 dspace-tech+unsubscr...@googlegroups.com.
>> To post to this group, send email to firstname.lastname@example.org.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
> Bruno Nocera Zanette
> +55 41 9992-2508
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 post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.