Browse Source

Base url on settings

Nicholas Kegler 6 years ago
parent
commit
9f6445ccf6
2 changed files with 1 additions and 2 deletions
  1. 0
    2
      searx/engines/opensemantic.py
  2. 1
    0
      searx/settings.yml

+ 0
- 2
searx/engines/opensemantic.py View File

13
 from json import loads
13
 from json import loads
14
 from searx.url_utils import quote
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
 base_url = 'http://localhost:8983/solr/opensemanticsearch/'
16
 base_url = 'http://localhost:8983/solr/opensemanticsearch/'
19
 search_string = 'query?q={query}'
17
 search_string = 'query?q={query}'
20
 
18
 

+ 1
- 0
searx/settings.yml View File

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