mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-16 03:17:04 +01:00
10 lines
186 B
Python
10 lines
186 B
Python
|
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:
|