You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by KRIS MUSSHORN <mu...@comcast.net> on 2016/10/06 17:07:15 UTC

seperate core from engine

Currently Solr ( 5.4.1 ) and its core data are all in one location. 

How would i set up Solr so that the core data could be stored somewhere else? 

Pointers to helpful instructions are appreciated 

TIA 

Kris 

Re: seperate core from engine

Posted by Shawn Heisey <ap...@elyograg.org>.
On 10/6/2016 11:07 AM, KRIS MUSSHORN wrote:
> Currently Solr ( 5.4.1 ) and its core data are all in one location.
> How would i set up Solr so that the core data could be stored
> somewhere else? Pointers to helpful instructions are appreciated 

If you use the service installation script on a UNIX or UNIX-like
operating system, Solr is installed in a different location than its
data by default.  The program defaults to /opt/solr and the data to
/var/solr.

I strongly recommend using a free operating system and the service
install script.  The service install script has a number of options that
let you customize many aspects of the installation.

https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production

At this time, there is no official way to automate installation on
Windows.  That may come in the future ... but Windows is fairly low
priority here.

If you are starting manually with the bin/solr script, there is a
commandline option to start with a different solr home, which would let
you put the data anywhere you want.

Thanks,
Shawn


Re: seperate core from engine

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
You have solr home property (solr.solr.home) to point to where all
your collections/cores are and then you can set various directory
locations per core in the core.properties file.

Regards,
   Alex.
----
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/


On 7 October 2016 at 00:07, KRIS MUSSHORN <mu...@comcast.net> wrote:
> Currently Solr ( 5.4.1 ) and its core data are all in one location.
>
> How would i set up Solr so that the core data could be stored somewhere else?
>
> Pointers to helpful instructions are appreciated
>
> TIA
>
> Kris