Seeing if anyone has any thoughts on this again.
-- Forwarded message -
From: Stephon Harris
Date: Mon, Jan 7, 2019 at 10:05 AM
Subject: Setting Solr Home via installation script
To:
I am trying to install solr as a service so that when a restart takes place
the solr home
I am trying to install solr as a service so that when a restart takes place
the solr home directory is set to `example/schemaless/solr`where there are
cores I have created while running solr in the schemaless example.
As instructed in taking Solr to Production
<https://lucene.apache.org/s
On 4/18/2017 7:07 AM, tedsolr wrote:
> Looks like the issues are self inflicted. I have custom start/stop
> scripts that actually specify the solr home directory as a param to
> the start command (start -c -s ...). This was overriding my include
> variable. As for the magical solr.xml
Looks like the issues are self inflicted. I have custom start/stop scripts
that actually specify the solr home directory as a param to the start
command (start -c -s ...). This was overriding my include variable. As for
the magical solr.xml file, that's also my doing because as part of shutdown
, Apr 17, 2017 at 3:46 PM, tedsolr <tsm...@sciquest.com> wrote:
> I have a solr cloud cluster (v5.2.1 on redhat linux) that uses the default
> location for solr home: (install dir)/server/solr. I would like to move the
> index data somewhere else to make upgrades easier. When I
I have a solr cloud cluster (v5.2.1 on redhat linux) that uses the default
location for solr home: (install dir)/server/solr. I would like to move the
index data somewhere else to make upgrades easier. When I set a SOLR_HOME
variable solr appears to be ignoring it - and even creating a solr.xml
definition is set in solr.sh. I'm not sure but worth giving a
try.
On Tue, Apr 12, 2016 at 9:34 AM, scott.chu <scott@udngroup.com> wrote:
> I got a custom tokenizer. When configuring it, there's an attribute
> 'fileDir', whose value is a path relative to solr home. But I wis
I got a custom tokenizer. When configuring it, there's an attribute 'fileDir',
whose value is a path relative to solr home. But I wish it can be relative to
current core. Is there some system variable out-of-box, say {current_core},
that I can use in the value? For example,
solr home
Tom Evans wrote:
>> I'm struggling to configure solr cloud to put the index files and
>> core.properties in the correct places in SolrCloud 5.5. Let me explain
>> what I am trying to achieve:
>>
>> * solr is installed in /opt/solr
>> * the user who runs solr only h
only has read only access to that tree
> * the solr home files - custom libraries, log4j.properties, solr.in.sh
> and solr.xml - live in /data/project/solr/releases/, which
> is then the target of a symlink /data/project/solr/releases/current
> * releasing a new version of the solr home (
It’s a bit backwards feeling, but I’ve had luck setting the install dir and
solr home, instead of the data dir.
Something like:
-Dsolr.solr.home=/data/solr
-Dsolr.install.dir=/opt/solr
So all of the Solr files are in in /opt/solr and all of the index/core related
files end up in /data/solr
, and solr_home becomes
purely about data alone.
Does that work?
Upayavira
On Thu, Mar 3, 2016, at 11:58 AM, Tom Evans wrote:
> Hmm, I've worked around this by setting the directory where the
> indexes should live to be the actual solr home, and symlink the files
> from the curren
Hmm, I've worked around this by setting the directory where the
indexes should live to be the actual solr home, and symlink the files
from the current release in to that directory, but it feels icky.
Any better ideas?
Cheers
Tom
On Thu, Mar 3, 2016 at 11:12 AM, Tom Evans <tev
Hi all
I'm struggling to configure solr cloud to put the index files and
core.properties in the correct places in SolrCloud 5.5. Let me explain
what I am trying to achieve:
* solr is installed in /opt/solr
* the user who runs solr only has read only access to that tree
* the solr home files
If you've recently downloaded Solr 5.x and trying to figure out what
example creates a home where and why the example creation command uses
configset directory but not configset URL parameter, you may find this
useful:
http://blog.outerthoughts.com/2015/11/oh-solr-home-where-art-thou/
Regards
: An oversight I think. If you create a patch, let me know and we can
: get it committed.
that definitely sounds bad we should certainly try to fix that before 5.0
comes out since it does have back-compat implictations...
https://issues.apache.org/jira/browse/SOLR-6718
...better to
Hi,
I'm trying to configure a different core discovery root directory in
solr.xml with the coreRootDirectory setting as described in
https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml
I'd like to just set it to a subdirectory of solr home (a cores
directory to avoid
a different core discovery root directory in
solr.xml with the coreRootDirectory setting as described in
https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml
I'd like to just set it to a subdirectory of solr home (a cores directory
to avoid confusion with configsets and other
On 11/6/2014 12:02 PM, Erick Erickson wrote:
An oversight I think. If you create a patch, let me know and we can
get it committed.
Hmmm, not sure though, this'll change the current behavior that people might
be
counting on
Relative to the solr home sounds like the best option to me
Hi,
I'd like to bundle up a jar file, with a complete solr home and index.
This jar file is a dependency for another application, which uses an
instance of embedded solr, multi-core. Is there any way to have the
application's embedded solr, read the configs/index data from jar
dependency?
I
Hi all,
I am wondering how could I set a path for solr/home property.
Our solr home is inside the solr.war, so I don't want a absolute path(will
deploy to different boxes).
Currently I hard code a relative path as solr/home property in web.xml.
!-- People who want to hardcode their Solr Home
Why you have putted your solr home inside the Tomcat's webapps directory.
This is not the correct way.Put your Solr home somewhere other place outside
the servlet container and set your solr/home path accordingly as
env-entry
env-entry-namesolr/home/env-entry-name
env-entry-value
I've installed Solr a hundred times using Tomcat (on Windows) but now need to
get it going with WebSphere (on Windows). For whatever reason this seems to be
black magic :) I've installed the war file but have no idea how to set Solr
home to let WebSphere know where the index and config files
Tomcat (on Windows) but now need
to get it going with WebSphere (on Windows). For whatever reason this seems
to be black magic :) I've installed the war file but have no idea how to
set Solr home to let WebSphere know where the index and config files are.
Can someone enlighten me on how to do
On 4/27/10 12:04 PM, Chris Hostetter wrote:
: SEVERE: Could not start SOLR. Check solr/home property
it means something when horribly wrong when starting solr, and since this
is frequently caused by either an incorrect explicit solr/home or an
incorrect implicitly guessed solr home
: SEVERE: Could not start SOLR. Check solr/home property
it means something when horribly wrong when starting solr, and since this
is frequently caused by either an incorrect explicit solr/home or an
incorrect implicitly guessed solr home, that is mentioned in the error
message as something
Did you by any chance set up multicore? Try passing in the path to the Solr
home directory as -Dsolr.solr.home=/path/to/solr/home while you start Solr.
On Mon, Apr 26, 2010 at 1:04 PM, Jon Drukman jdruk...@gmail.com wrote:
What does this error mean?
SEVERE: Could not start SOLR. Check solr
On 4/26/10 1:18 PM, Siddhant Goel wrote:
Did you by any chance set up multicore? Try passing in the path to the Solr
home directory as -Dsolr.solr.home=/path/to/solr/home while you start Solr.
Nope, no multicore.
I destroyed the index and re-created it from scratch and now it works
fine
Hi Jon,
Not sure who spits out that error message, but you can always use
-Dsolr.solr.home=/path/to/solr/home as the JVM param (in your app server
startup script, most likely).
Otis
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search
Thank you all for the insight into this problem. I was 100%
positive that selinux and file permissions were not the problems.
Turns out that tomcat 6 on ubuntu comes with a tomcat security manager
enabled by default. I had no desire to figure out how this works
since this is for local
Check. I even verified that the tomcat user could create the
directory (i.e. sudo -u tomcat6 mkdir /opt/solr/steve/lib). Still
solr complains.
On Sun, Nov 22, 2009 at 10:03 PM, Yonik Seeley ysee...@gmail.com wrote:
Maybe ensuring that the full parent path (all parent directories) have
rx
I have been trying to get a new solr install setup on Ubuntu 9.10
using tomcat6. I have tried the solr 1.4 release and the latest svn
for good measure. No matter what, I am running into the following
permission error. I removed all the lib includes from solrconfig.xml.
I have created the
Maybe ensuring that the full parent path (all parent directories) have
rx permissions?
-Yonik
http://www.lucidimagination.com
On Sun, Nov 22, 2009 at 2:59 PM, Charles Moad cm...@imamuseum.org wrote:
I have been trying to get a new solr install setup on Ubuntu 9.10
using tomcat6. I have
it this way and see if it clears up. Is it okay to keep
the war file *inside* the Solr home directory (/opt/solr in my case) so
it's all self-contained?
For the benefit of future searchers -- I tried it this way and it works
fine. Thanks again to everyone for helping.
Andrew.
--
View this message
I'll upgrade them both to a fresh nightly.
hossman wrote:
: Tomcat is installed in /opt/apache-tomcat , solr is in
: /opt/apache-tomcat/webapps/solr , and my Solr home directory is
/opt/solr .
if solr is in /opt/apache-tomcat/webapps/solr means that you put the
solr.war in /opt/apache
Hi all, I'm having problems getting Solr to start on Tomcat 6.
Tomcat is installed in /opt/apache-tomcat , solr is in
/opt/apache-tomcat/webapps/solr , and my Solr home directory is /opt/solr .
My config file is in /opt/solr/conf/solrconfig.xml .
I have a Solr-specific context file in
/opt
This might be a bit of a hack but i got this in the web.xml of my applicatin
and it works great.
!-- People who want to hardcode their Solr Home directly into the
WAR File can set the JNDI property here...
--
env-entry
env-entry-namesolr/home/env-entry-name
env
Constantijn Visinescu wrote:
This might be a bit of a hack but i got this in the web.xml of my
applicatin
and it works great.
!-- People who want to hardcode their Solr Home directly into the
WAR File can set the JNDI property here...
--
env-entry
env-entry
: Hi all, I'm having problems getting Solr to start on Tomcat 6.
which version of Solr?
: Tomcat is installed in /opt/apache-tomcat , solr is in
: /opt/apache-tomcat/webapps/solr , and my Solr home directory is /opt/solr .
if solr is in /opt/apache-tomcat/webapps/solr means that you put
: Now I've got a completely different error:
: org.apache.lucene.index.CorruptIndexException: Unknown format version: -9.
: I think it might be time for a fresh install...
I've added a FAQ for this...
I already have a handful of solr instances running . However, I'm
trying to install solr (1.4) on a new linux server with tomcat using a
context file (same way I usually do):
Context docBase=/opt/local/solr/apache-solr-1.4.war debug=0
crossContext=true
Environment name=solr/home type
in JNDI, shouldn't there be a way to
refer to it?
Also, what about the INFO message that says it can't find /solr/home,
while
the instructions refer to solr/home ?
Noble Paul നോബിള് नोब्ळ्-2 wrote:
${solr.home} is used for documentation purpose. It is not set as a
variable.
On Fri, Sep
at 9:16 PM, Archon810archon...@gmail.com wrote:
OK, so I can't access it by ${solr.home}, but is there a way to access
it?
After all, it's a variable defined in JNDI, shouldn't there be a way to
refer to it?
Also, what about the INFO message that says it can't find /solr/home,
while
Solr setup, straight from the Solr wiki -
http://wiki.apache.org/solr/SolrTomcat#head-024d7e11209030f1dbcac9974e55106abae837ac.
Here's the relevant code:
lt;Context docBase=/some/path/solr.war debug=0 crossContext=true gt;
lt;Environment name=solr/home type=java.lang.String
value=/some/path
;Environment name=solr/home type=java.lang.String
value=/some/path/solr1home override=true /gt;
lt;/Contextgt;
Now I want to set the Solr lt;dataDirgt; in solrconfig.xml, relative to
the solr home property. The instructions
http://wiki.apache.org/solr/SolrConfigXml#head
the
ShowFileRequestHandler using...
It was only natural to assume it would work for something as trivial as
dataDir.
So, there's no way to refer to the solr/home value defined in JNDI?
Noble Paul നോബിള് नोब्ळ्-2 wrote:
it is nowhere mentioned that you can use a variable ${solr.home} in
your
OK, so I can't access it by ${solr.home}, but is there a way to access it?
After all, it's a variable defined in JNDI, shouldn't there be a way to
refer to it?
Also, what about the INFO message that says it can't find /solr/home, while
the instructions refer to solr/home ?
Noble Paul നോബിള്
=solr/home type=java.lang.String
value=/some/path/solr1home override=true /gt;
lt;/Contextgt;
Now I want to set the Solr lt;dataDirgt; in solrconfig.xml, relative to
the solr home property. The instructions
http://wiki.apache.org/solr/SolrConfigXml#head-e8fbf2d748d90c5900aac712d0e3385ced5bd128
say lt
Aug 15, 2009 10:49:43 PM
org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /usr/share/tomcat5/solr/solr.xml
Aug 15, 2009 10:49:43 PM org.apache.solr.core.SolrResourceLoader init
INFO: Solr home set to '/usr/share/tomcat5/solr/'
Aug 15, 2009 10:49:43 PM
: the environment variable (env-entry) in web.xml to configure the solr/home is
: relative to the web server's working directory. I find this unusual as all the
: servlet paths are relative to the web applications directory (webapp context,
: that is). So, I specified solr/home relative
Hi all,
I know how to configure solr.home by using tomcat6, but I don't know how to
set solr.home by using Glassfish(V2.1). I have tried to set the solr.home in
.profile as fellows:
export solr.home=/home/huenzhao/search/solr
export solr/home=/home/huenzhao/search/solr
export solr.solr.home
huenzhao schrieb:
Hi all,
I know how to configure solr.home by using tomcat6, but I don't know how to
set solr.home by using Glassfish(V2.1). I have tried to set the solr.home in
.profile as fellows:
export solr.home=/home/huenzhao/search/solr
export solr/home=/home/huenzhao/search/solr
export
,
I know how to configure solr.home by using tomcat6, but I don't know how
to
set solr.home by using Glassfish(V2.1). I have tried to set the solr.home
in
.profile as fellows:
export solr.home=/home/huenzhao/search/solr
export solr/home=/home/huenzhao/search/solr
export solr.solr.home
is hiring -- http://sematext.com/about/jobs.html?mls
Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
- Original Message
From: huenzhao huenz...@126.com
To: solr-user@lucene.apache.org
Sent: Thursday, August 6, 2009 9:53:26 PM
Subject: Re: How to set solr/home in linux OS
Have you tried setting solr home via the JNDI? I think you can set it via
solr/home but that would require adding this to your servlet context
configuration.
Another option is to trace the startup scripts for Glassfish and see what
environment variables are passed in. JAVA_OPTS would make sense
Hi all,
the environment variable (env-entry) in web.xml to configure the
solr/home is relative to the web server's working directory. I find this
unusual as all the servlet paths are relative to the web applications
directory (webapp context, that is). So, I specified solr/home relative
On Wed, Jul 29, 2009 at 2:42 PM, Chantal Ackermann
chantal.ackerm...@btelligent.de wrote:
Hi all,
the environment variable (env-entry) in web.xml to configure the solr/home
is relative to the web server's working directory. I find this unusual as
all the servlet paths are relative
Hi all,
Have an odd problem on JBoss 4.2.3 running on Redhat.
It's odd, because the configuration works fine on Windows.
Our Solr home is defined in the Solr.war web.xml as:
[Linux]
env-entry
env-entry-namesolr/home/env-entry-name
env-entry-typejava.lang.String/env-entry-type
: Solr Home on Linux JBoss ignored
Hi all,
Have an odd problem on JBoss 4.2.3 running on Redhat.
It's odd, because the configuration works fine on Windows.
Our Solr home is defined in the Solr.war web.xml as:
[Linux]
env-entry
env-entry-namesolr/home/env-entry-name
env-entry
have no idea why!
Dean.
-Original Message-
From: Dean Pullen [mailto:dean.pul...@msp-uk.com]
Sent: 05 June 2009 09:47
To: solr-user@lucene.apache.org
Subject: Solr Home on Linux JBoss ignored
Hi all,
Have an odd problem on JBoss 4.2.3 running on Redhat.
It's odd, because
Hi,
No luck, I tried as follows, my solr home is there out of of my solrj
client. I think it is looking for the config at CWD,
config = new SolrConfig();
String dir= config.getResourceLoader().getDataDir(); ( I used
getInstanceDir() also )
//File f = new File( home
can hit the /admin/system request handler to
get the Solr home directory. In a URL it'd be http://localhost:8983/solr/admin/system
. You get this sort of thing in the response:
?xml version=1.0 encoding=UTF-8?
response
lst name=responseHeader
int name=status0/int
int name=QTime80/int
/lst
debug=0
crossContext=true
Environment name=solr/home type=java.lang.String value=/data/solr
override=true /
/Context
And my error :
Oct 3 08:53:42 solr-test jsvc.exec[24013]: 0.058: [GC
Oct 3 08:53:42 solr-test jsvc.exec[24013]: [PSYoungGen:
5121K-288K(298688K)] 5121K-288K(2005376K
/solr.war debug=0
crossContext=true
Environment name=solr/home type=java.lang.String value=/data/solr
override=true /
/Context
[EMAIL PROTECTED]:/data/solr# ls
group lib multicore.xml solr solr-jndi.xml solr.war solr.xml user
books
And my error :
Oct 3 10:29:17 solr-test jsvc.exec
If you are using multicore.xml then the solr/home property in your tomcat
should be /data/solr
On Fri, Oct 3, 2008 at 12:25 PM, sunnyfr [EMAIL PROTECTED] wrote:
Thanks Hoss,
I thought it might come from tomcat if it doesn't find it :
[EMAIL PROTECTED]:/etc/tomcat5.5/Catalina/localhost# ls
then the solr/home property in your
tomcat
should be /data/solr
On Fri, Oct 3, 2008 at 12:25 PM, sunnyfr [EMAIL PROTECTED] wrote:
Thanks Hoss,
I thought it might come from tomcat if it doesn't find it :
[EMAIL PROTECTED]:/etc/tomcat5.5/Catalina/localhost# ls
solr.xml
[EMAIL PROTECTED]:/var/lib
to see the specifics.
Erik
On Oct 3, 2008, at 4:32 AM, Shalin Shekhar Mangar wrote:
If you are using multicore.xml then the solr/home property in your
tomcat
should be /data/solr
On Fri, Oct 3, 2008 at 12:25 PM, sunnyfr [EMAIL PROTECTED] wrote:
Thanks Hoss,
I thought
:
: I don't know why in my logs I've this error:
:
: Could not start SOLR. Check solr/home property java.lang.RuntimeException:
: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/',
what get's logged before and that? what is the full error with the full
stack trace? ... it's
Hi everybody,
I don't know why in my logs I've this error:
Could not start SOLR. Check solr/home property java.lang.RuntimeException:
Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/',
Help would be more than welcome.
Cheers,
--
View this message in context:
http
-6.0.14\lib\solr.war debug=0
crossContext=true
Environment name=solr/home type=java.lang.String
value=c:\tomcatweb\merchant override=true /
/Context
I have of course created the folders: c:\tomcatweb\merchant under which you
can find the data, conf and
bin folders.
Now this configuration worked
I have temporarily solved the problem by hardcoding the folders in the
dataDir element like so:
dataDirC:\tomcatweb\merchant\data/dataDir (in the
solrconfig.xml)
Any ideas of what I am doing wrong?
Is it solr home or or the data directory that is getting set wrong?
I *think
arr name=env strMYVAR=val1/str /arr
in my solrconfig.xml
but I always get the default (.). I am using overrides through JNDI to
set solr/home and this works fine for everything, but it seems the
variable is not set here I'm testing it by putting a logging call
of $* in snapshooter
/str /arr
in my solrconfig.xml
but I always get the default (.). I am using overrides through JNDI to
set solr/home and this works fine for everything, but it seems the
variable is not set here I'm testing it by putting a logging call
of $* in snapshooter, and it always receives -d ./data
Hi SHalin,
I'm using JNDI and to set the solr home via an override like so:
env-entry
env-entry-namesolr/home/env-entry-name
env-entry-valuepath/to/solr/home/env-entry-value
env-entry-typejava.lang.String/env-entry-type
/env-entry
This works like a charm, and I have 20
Hi
I'm using solr 1.2.0 on a Tomcat 5.5 engine
And have copied a solr.xml in catalina_home/conf/hostname
Context docBase=/solr/solr.war debug=1 crossContext=true
Environment name=solr/home type=java.lang.String
value=/solr/example/solr/
/Context
And Tomcat certainly reads the solr.xml file
Hi,
I'm using tomcat5.5 too. I believe you need to specify override to be true.
Context docBase=/solr/solr.war debug=1 crossContext=true
Environment name=solr/home type=java.lang.String
value=/solr/example/solr/ override=true
/Context
HTH,
mit freundlichen Grüßen,
Stefan Oestreicher
Hi,
Same problem.
Contextfile:
Context docBase=/solr/solr.war debug=1 crossContext=true
Environment name=solr/home type=java.lang.String
value=/solr/example/solr override=true/
/Context
Output.
13-06-2008 11:36:20 org.apache.solr.servlet.SolrDispatchFilter init
INFO
Unfortunately I'm neither a solr nor a tomcat expert.
My setup is as follows:
solr.xml in /etc/tomcat5.5/Catalina/hostname/solr.xml
Context docBase=/data/java/archives/solr-1.3-dev.war debug=0
crossContext=0
Environment name=solr/home type=java.lang.String
value=/data/java/solr
crossContext=0
Environment name=solr/home type=java.lang.String
value=/data/java/solr override=true /
/Context
And my CATALINA_HOMEis /data/java/dev02
Is your solr.home writable by tomcat and outside of CATALINA_HOME?
HTH,
Stefan Oestreicher
--
Dr. Maté GmbH
Stefan Oestreicher
Well, just to add to this, the fact is that Tomcat (or any other
container) will probably never have info about SOLR so while I
sympathize with the cleanness aspect of not providing this info, it
sucks when one is trying to figure it out.
I subscribed to the wiki but I'm a little wary.
: Well, just to add to this, the fact is that Tomcat (or any other container)
: will probably never have info about SOLR so while I sympathize with the
: cleanness aspect of not providing this info, it sucks when one is trying to
: figure it out.
right ... but generic things about tomcat (like
: b) the need for a solr home directory and what that is for / what that means
There is some info aboutthis on the general SolrInstall page...
http://wiki.apache.org/solr/SolrInstall
which referes to example/solr (where a README.txtfile goes into more
details)
If you (coming from
differnet docs talking about
solr.solr.home system properties, and JNDI, and context files. Solr is
very flexible in how you cna tell it where to find it's configuration
files -- called the Solr Home -- just pick the one that meets your
needs...
http://wiki.apache.org/solr/SolrInstall
If you
and tomcat. I get the following:
INFO: HTMLManager: start: Starting web application at '/solr'
Mar 19, 2008 12:57:26 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Mar 19, 2008 12:57:26 AM org.apache.solr.core.Config getInstanceDir
INFO: No /solr/home in JNDI
with tomcat/conf/Catalina/localhost/ as a
directory to place your context files such as solr.xml which would be
something like:
Context docBase=f:/solr.war debug=0 crossContext=true
Environment name=solr/home type=java.lang.String
value=f:/solr1home override=true /
/Context
Be sure that solr/home
So it seems that I got Tomcat to recognize where solr is with this
conf/Catalina/localhost/solr.xml:
Context
docBase=/usr/local/apache-solr-1.2.0/dist/apache-solr-1.2.0.war
debug=0
crossContext=true
Environment name=solr/home
value=/usr/local/apache-solr-1.2.0
any class
names in there that are referenced? Or in your schema point to a
class that does not exist? Something there might cause a failure
during that part of the loading.
Or you are not pointing to the right solr home. In fact, your Solr
home looks wrong and is the likely culprit. It should
Hallelujah!
So, it's clear to me that neither the Tomcat docs or the Solr/Tomcat
wiki page is completely clear on this topic. Specifically, the parts about:
a) the way to specify webapps using Catalina/localhost/webapp.xml (and
how it relates to solr)
b) the need for a solr home directory
/localhost/webapp.xml
(and how it relates to solr)
b) the need for a solr home directory and what that is for / what
that means
c) a general desire not to run a nightly build version
Hopefully this thread will serve others but perhaps the wiki could
be updated? I'd be happy to provide changes
). For example:
ant -Ddeploy-path=/solr-01 deploy
ant -Ddeploy-path=/solr-02 deploy
Both deploy commands use the same .war. However, I’m trying to do something
that I’ve been unable to find a proper method for. solr/home points to a
directory that is packed inside the .war. So, I would like
Hi,
I recently upgraded to Solr 1.2. I've set it up through Tomcat using
context fragment files. I deploy using the tomcat web manager. In the
context fragment I set the environment variable solr/home. This use
to work as expected. The solr/home value pointed to the directory
where data
Here you go:
Context docBase=/usr/local/lib/solr.war debug=0
crossContext=true
Environment name=solr/home type=java.lang.String value=/usr/
local/projects/my_app/current/solr-home /
/Context
This is the same file I'm putting into the Tomcat manager XML
Configuration file URL form
on setting up Solr home directories.
* can we set up multiple Solr home directories within the same Solr
instance? (I want to use the same Tomcat Solr instance to support
indexing
and searching over multiple independent indexes.)
* If so, say I have some customized Solr plugins, ie., jar
Just to make sure. you mean we can create a directory containing the shared
jars, and each solr home/lib will symlink to the jar files in that
directory. Right?
correct.
-Hoss
to
migrate an index to a different machine easier.
Thank you for your help.
Ozgur
On 8/31/07, Chris Hostetter [EMAIL PROTECTED] wrote:
Just to make sure. you mean we can create a directory containing the shared
jars, and each solr home/lib will symlink to the jar files in that
directory. Right
uses a different data directory.
Thanks,
Stu
-Original Message-
From: Ozgur Yilmazel
Sent: Friday, August 31, 2007 4:48am
To: solr-user@lucene.apache.org
Subject: Re: multiple solr home directories
I have a related question on this topic. I have a web application
which I would like
* can we set up multiple Solr home directories within the same Solr
instance? (I want to use the same Tomcat Solr instance to support indexing
and searching over multiple independent indexes.)
yes. using JNDI you can configure multiple instances of Solr each with a
seperate solr home
Thanks, Hoss,
you still use a separate lib directory for each solr home and
symlink each jar ...
Just to make sure. you mean we can create a directory containing the shared
jars, and each solr home/lib will symlink to the jar files in that
directory. Right?
Thanks,
-Hui
On 8/30/07, Chris
Hi, there,
I have a few basic questions on setting up Solr home directories.
* can we set up multiple Solr home directories within the same Solr
instance? (I want to use the same Tomcat Solr instance to support indexing
and searching over multiple independent indexes.)
* If so, say I have some
structure is quite different, due to JBoss' treatment of Tomcat as just
another service.
I've actually gotten past all of the hurdles, except for figuring out how to
setup Solr Home via JNDI so that Tomcat Bundled will see the binding. I
have tried various approaches:
1. Based on instructions
100 matches
Mail list logo