From e90cfe9e695e3cae0cdf9fe426837b1c04f9099f Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 1 Apr 2025 17:03:45 +0300 Subject: [PATCH] README.md: update for DSpace 7 Minor changes only. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d0fb3d0..cff3d75 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Code style: black

-DSpace stores item view and download events in a Solr "statistics" core. This information is available for use in the various DSpace user interfaces, but is not exposed externally via any APIs. The DSpace 4/5/6 [REST API](https://wiki.lyrasis.org/display/DSDOC5x/REST+API), for example, only exposes _metadata_ about communities, collections, items, and bitstreams. +DSpace stores item view and download events in a Solr "statistics" core. This information is available for use in the various DSpace user interfaces, but is not exposed externally via any APIs. The DSpace 4/5/6 [REST API](https://wiki.lyrasis.org/display/DSDOC5x/REST+API), for example, only exposes _metadata_ about communities, collections, items, and bitstreams. As of DSpace 7, the [REST API](https://wiki.lyrasis.org/display/DSDOC7x/REST+API) exposes _some_ statistics about DSpace objects, but does not provide a way to get them for all items, and lacks some flexibility. - If your DSpace is version 4 or 5, use [dspace-statistics-api v1.1.1](https://github.com/ilri/dspace-statistics-api/releases/tag/v1.1.1) - If your DSpace is version 6+, use [dspace-statistics-api v1.2.0 or greater](https://github.com/ilri/dspace-statistics-api/releases/tag/v1.2.0) @@ -34,7 +34,7 @@ Create a Python virtual environment and install the dependencies: Set up the environment variables for Solr and PostgreSQL: - $ export SOLR_SERVER=http://localhost:8080/solr + $ export SOLR_SERVER=http://localhost:8983/solr $ export DATABASE_NAME=dspacestatistics $ export DATABASE_USER=dspacestatistics $ export DATABASE_PASS=dspacestatistics