1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-05-08 14:16:01 +02:00

indexer.py: Improve inline documentation

This commit is contained in:
2018-09-25 12:23:31 +03:00
parent d0552f5047
commit bfceffd84d

@ -20,17 +20,15 @@
# --- # ---
# #
# Connects to a DSpace Solr statistics core and ingests item views and downloads # Connects to a DSpace Solr statistics core and ingests item views and downloads
# into a Postgres database for use with other applications (an API, for example). # into a PostgreSQL database for use by other applications (like an API).
# #
# This script is written for Python 3 and requires several modules that you can # This script is written for Python 3.5+ and requires several modules that you
# install with pip (I recommend setting up a Python virtual environment first): # can install with pip (I recommend using a Python virtual environment):
# #
# $ pip install SolrClient # $ pip install SolrClient psycopg2-binary
# #
# See: https://solrclient.readthedocs.io/en/latest/SolrClient.html # See: https://solrclient.readthedocs.io/en/latest/SolrClient.html
# See: https://wiki.duraspace.org/display/DSPACE/Solr # See: https://wiki.duraspace.org/display/DSPACE/Solr
#
# Tested with Python 3.5 and 3.6.
from database import database_connection from database import database_connection
from solr import solr_connection from solr import solr_connection