1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-14 02:27:02 +01:00
dspace-statistics-api/solr.py

10 lines
186 B
Python
Raw Normal View History

from config import SOLR_SERVER
from SolrClient import SolrClient
def solr_connection():
connection = SolrClient(SOLR_SERVER)
return connection
# vim: set sw=4 ts=4 expandtab: