[ 
https://issues.apache.org/jira/browse/SOLR-9575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484185#comment-17484185
 ] 

ASF subversion and git services commented on SOLR-9575:
-------------------------------------------------------

Commit 61b1a178c9d971fe55e3adb72cad8891a9a6d6b4 in solr's branch 
refs/heads/branch_9_0 from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=61b1a17 ]

SOLR-9575 Allow starting with an empty SOLR_HOME (#558)

Solr no longer requires solr.xml and zoo.cfg files be present in $SOLR_HOME. If 
not found, defaults are used

(cherry picked from commit 0fb94f7b38e7a7b735ce97ad8d19412e5fbd1f93)


> Allow starting with an empty SOLR_HOME
> --------------------------------------
>
>                 Key: SOLR-9575
>                 URL: https://issues.apache.org/jira/browse/SOLR-9575
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: David Smiley
>            Assignee: Jan Høydahl
>            Priority: Major
>              Labels: docker
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> The user may not want to use Solr's default solr-home dir location -- most 
> likely to use a separate disk.  If you do this, there are two main problems:
> * solr.xml & zoo.cfg aren't there
> * configsets aren't there
> Of course you could copy it manually but that's an extra step, and it's 
> particularly annoying to add this step to a Docker setup.  Docker is all the 
> rage these days, and for good reason.  If I mount a volume at 
> /opt/solr/server/solr then it basically masks this part of the built-in Solr 
> image (thus making configsets completely invisible) and points to some place 
> that will be empty.  Solr obviously complains.  I could set the solr-home to 
> some other path that I mount, but Solr would still complain about an empty 
> solr-home -- no solr.xml
> If solr-home is empty, and if it's a dir other than the default solr-home, 
> then I think the solr-home should be initialized with solr.xml and zoo.cfg 
> copied from the default solr-home.  I think configsets should be referenced 
> from the default solr-home if there is no configsets dir in solr-home.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to