GitHub user hgadre opened a pull request:

    https://github.com/apache/lucene-solr/pull/121

    [SOLR-9817] Make "working directory" for Solr server during startup c…

    …onfigurable
    
    - Added an environment variable "SOLR_CONFIG_DIR" to specify the working 
directory.
      If this env variable is missing, then we use value of SOLR_SERVER_DIR as 
the default.
      This allows us to maintain backwards compatibility.
    - Updated solr-jetty-context.xml to use the jetty.home system property 
(instead of jetty.base).
      This is required since the jetty.base would point to SOLR_CONFIG_DIR and 
we need the location
      specified by SOLR_SERVER_DIR variable.
    
    Testing: Manual testing with (and without) specifying SOLR_CONFIG_DIR 
parameter. The server
             starts properly in both cases.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hgadre/lucene-solr SOLR-9817_fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/121.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #121
    
----
commit 6601b335e68a6d6df4fd724b61764f5d163f49f9
Author: Hrishikesh Gadre <[email protected]>
Date:   2016-11-30T16:50:29Z

    [SOLR-9817] Make "working directory" for Solr server during startup 
configurable
    
    - Added an environment variable "SOLR_CONFIG_DIR" to specify the working 
directory.
      If this env variable is missing, then we use value of SOLR_SERVER_DIR as 
the default.
      This allows us to maintain backwards compatibility.
    - Updated solr-jetty-context.xml to use the jetty.home system property 
(instead of jetty.base).
      This is required since the jetty.base would point to SOLR_CONFIG_DIR and 
we need the location
      specified by SOLR_SERVER_DIR variable.
    
    Testing: Manual testing with (and without) specifying SOLR_CONFIG_DIR 
parameter. The server
             starts properly in both cases.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to