Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Community here is specified by its "community_id" - the identifier from the "community" table in database. The result is the "numFound" attribute of the "result" element. This example returns number of items (search.resourcetype:2) in community with community_id=85 (location.comm:85):

Code Block
http://localhost:8080/solr/search/select/?q=location.comm:85+AND+search.resourcetype:2&start=0&rows=0&indent=on

...

Starting from DSpace 3, there is a statistics_type field in the statistics core that contains the "usage event type". Currently, the available types are search, viewsearch_result and workflow. Here's how to get event breakdown by type, excluding robots (isBot:false):

 

Code Block
http://localhost:8080/solr/statistics/select?indent=on&rows=0&facet=true&facet.field=statistics_type&q=isBot:false

Statistics: breakdown of downloads per month

...