Changeset 27867 for gs3-extensions/solr

Show
Ignore:
Timestamp:
15.07.2013 23:24:44 (6 years ago)
Author:
davidb
Message:

Change to use gsdl3_writablehome to help Solr run off CDROM/DVD

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2SolrSearch.java

    r27844 r27867  
    7272            try 
    7373            { 
    74                 String gsdl3_home = GlobalProperties.getGSDL3Home(); 
     74                String gsdl3_writablehome = GlobalProperties.getGSDL3WritableHome(); 
    7575                String solr_ext_name = GlobalProperties.getProperty("gsdlext.solr.dirname", "solr"); 
    7676 
    77                 String solr_home_str = GSFile.extHome(gsdl3_home, solr_ext_name); 
     77                String solr_home_str = GSFile.extHome(gsdl3_writablehome, solr_ext_name); 
    7878 
    7979                all_solr_cores = new CoreContainer(solr_home_str);