Hi Terry, Thank you so much for sharing this batch tools, I was looking for this for a long time.
Can you please share link for this proper documentation with the oracle database support. I'm not much familiar with PHP code. Many Thanks, Faiyaz Ahmed On Friday, February 17, 2017 at 10:18:14 PM UTC+5, Terry Brady wrote: > > To query for original bitstream views, set > > - q=type:0 AND bundleName:ORIGINAL AND statistics_type:view > > To facet by bitstream id > > - facet=true > - facet.field=id > > This will give you the top ranked bitstream ids (numeric is DSpace 3/4/5, > uuid in DSpace 6). You can use this value to query the database. > > To restrict by community/collection, add the following to your q param > > - owningComm:x > - owningColl:x > > If you want to scope your search by time, there is a time field > available. You will need to research a bit on how to format that date > search. > > In case you are interested, I have some existing code that I use to count > statistics (rather than identify top downloads). There are some useful > queries here: > > - > > https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/stats/solrFacets.php#L64-L67 > > Terry > > On Fri, Feb 17, 2017 at 7:08 AM, Edmilson José Boregas <ejsbo...@gmail.com > <javascript:>> wrote: > >> Hi Terry, >> >> The statistis on XMLUI are not exactly what I want. >> >> Could you help me with the SOLR queries to obtain a list of downloaded >> bitstreams during an specific period of days? >> >> Or even point me some SOLR documentation that can be usefull for that. >> >> TIA, >> >> Ejsboregas >> >> Em quarta-feira, 15 de fevereiro de 2017 15:00:15 UTC-2, Terry Brady >> escreveu: >>> >>> The usage statistics are stored in SOLR for DSpace 5. It is possible to >>> write queries to see the most downloaded bitstream. >>> >>> XMLUI provides a listing of the most downloaded bitstreams. See >>> http://demo.dspace.org/xmlui/statistics >>> >>> (The landing page for demo.dspace.org/xmlui will provide instructions >>> on how to log in so you can see this information.) >>> >>> Would that provide the information you would like to see? >>> >>> On Wed, Feb 15, 2017 at 7:51 AM, Edmilson José Boregas < >>> ejsbo...@gmail.com> wrote: >>> >>>> Hi all, >>>> >>>> >>>> I have to produce a ranking of the most downloaded bitstream (Dspace >>>> 5.5). >>>> >>>> >>>> At the dspace log file I've found the following messages: >>>> >>>> >>>> 2017-02-04 00:20:22,663 INFO org.dspace.usage.LoggerUsageEventListener >>>> @ >>>> anonymous:session_id=826A711DAFC58FA021873BA5F1D7DDE1:ip_addr=157.55.39.41:view_bitstream:bitstream_id=22895 >>>> >>>> >>>> >>>> 2017-02-04 00:20:24,737 INFO org.dspace.app.xmlui.cocoon.BitstreamReader >>>> @ >>>> anonymous:session_id=9446A033674E101C86BE2CAE2BAA4592:ip_addr=173.252.88.95:view_bitstream:handle=10438/2674,withdrawn=true >>>> >>>> >>>> >>>> I ask: >>>> >>>> >>>> 1. Which of those lines mean that a bitstream was downloaded? Is >>>> there any others? >>>> >>>> >>>> 2. Is there some tool in Dspace 5.5 that can help me to extract this >>>> kind of event from dspace log file? >>>> >>>> >>>> Thanks a bunch >>>> >>>> >>>> Ejsboregas >>>> >>>> >>>> -- >>>> 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...@googlegroups.com. >>>> To post to this group, send email to dspac...@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/dspace-tech. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Terry Brady >>> Applications Programmer Analyst >>> Georgetown University Library Information Technology >>> http://georgetown-university-libraries.github.io/ >>> <https://www.library.georgetown.edu/lit/code> >>> 425-298-5498 (Seattle, WA) >>> >> -- >> 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...@googlegroups.com <javascript:>. >> To post to this group, send email to dspac...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/dspace-tech. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Terry Brady > Applications Programmer Analyst > Georgetown University Library Information Technology > http://georgetown-university-libraries.github.io/ > <https://www.library.georgetown.edu/lit/code> > 425-298-5498 (Seattle, WA) > -- 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 dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.