About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools


installation:windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
installation:windows [2018/12/19 17:11]
demiankatz [Installation]
installation:windows [2020/05/26 15:06] (current)
demiankatz [7. Configure VuFind]
Line 146: Line 146:
 === Configuring Solr === === Configuring Solr ===
  
-:!: Important -- the instructions in this section are probably not necessary for VuFind 3.0 or newer; please ignore unless you are using an older version. :!: +Starting with VuFind 3.0, no special Solr configuration should be necessary ​for the software ​to run correctly ​in Windows. If you encounter problems in VuFind 2.x or earlierit may be necessary ​to edit the various ​solrconfig.xml ​files under VuFind'​s Solr directory to change relative paths to absolute paths.
- +
-The config files for each Solr index are currently set up to use relative paths. ​ Because Windows services ​run in a different user context with different working directories,​ Solr may have problems finding its index files If you skip this stepyou may find that searches never yield any results. ​ To be on the safe side, you should reconfigure Solr to explicitly point out where the index files live. +
- +
-In the following files: +
-    c:/​vufind/​solr/​biblio/​conf/​solrconfig.xml +
-    c:/​vufind/​solr/​authority/​conf/​solrconfig.xml +
-    c:/​vufind/​solr/​stats/​conf/​solrconfig.xml +
- +
-Find the node: +
-    \config\dataDir +
- +
-And change ​the relative paths currently there to+
-    c:/​vufind/​solr/​biblio +
-    c:/​vufind/​solr/​authority +
-    c:/​vufind/​solr/​stats +
- +
-For example, you would change this: +
- +
-<code xml> +
-  <​dataDir>​${solr.data.dir:​./​solr/​biblio}</​dataDir>​  +
-</​code>​ +
- +
-to this: +
- +
-<code xml> +
-  <​dataDir>​c:/​vufind/​solr/​biblio</​dataDir>​  +
-</​code>​ +
 ==== 8. Start Solr ==== ==== 8. Start Solr ====
  
installation/windows.1545239504.txt.gz · Last modified: 2018/12/19 17:11 by demiankatz