Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 69af8d8

Browse files
committed
2 parents 384a52d + ea95efa commit 69af8d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/entity_linking/entity_linker.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
import requests
23
import json
34
import sys
@@ -18,6 +19,9 @@
1819
class Entity_Linker(object):
1920

2021
solr = 'http://localhost:8983/solr/'
22+
if os.getenv('OPEN_SEMANTIC_ETL_SOLR'):
23+
solr = os.getenv('OPEN_SEMANTIC_ETL_SOLR')
24+
2125
solr_core = 'opensemanticsearch-entities'
2226

2327
fields = [ 'id',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /