Nicholas Kegler преди 6 години
родител
ревизия
9f6445ccf6
променени са 2 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 0
    2
      searx/engines/opensemantic.py
  2. 1
    0
      searx/settings.yml

+ 0
- 2
searx/engines/opensemantic.py Целия файл

@@ -13,8 +13,6 @@ from dateutil import parser
13 13
 from json import loads
14 14
 from searx.url_utils import quote
15 15
 
16
-# If your OSS is hosted on another machine you would need to change
17
-# your base_url.
18 16
 base_url = 'http://localhost:8983/solr/opensemanticsearch/'
19 17
 search_string = 'query?q={query}'
20 18
 

+ 1
- 0
searx/settings.yml Целия файл

@@ -467,6 +467,7 @@ engines:
467 467
   - name : opensemanticsearch
468 468
     engine : opensemantic
469 469
     shortcut : oss
470
+    base_url : 'http://localhost:8983/solr/opensemanticsearch/'
470 471
 
471 472
   - name : openstreetmap
472 473
     engine : openstreetmap