Fwd: Setting Solr Home via installation script

2019-01-08 Thread Stephon Harris
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

Setting Solr Home via installation script

2019-01-07 Thread Stephon Harris
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

Re: Moving solr home

2017-04-18 Thread Shawn Heisey
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

Re: Moving solr home

2017-04-18 Thread tedsolr
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

Re: Moving solr home

2017-04-17 Thread Susheel Kumar
, 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

Moving solr home

2017-04-17 Thread tedsolr
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

Re: Specify relative path to current core conf folder when it's originally relative to solr home

2016-04-12 Thread Reth RM
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

Specify relative path to current core conf folder when it's originally relative to solr home

2016-04-11 Thread scott.chu
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

Re: Separating cores from Solr home

2016-03-04 Thread Jan Høydahl
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

Re: Separating cores from Solr home

2016-03-04 Thread Shawn Heisey
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 (

Re: Separating cores from Solr home

2016-03-03 Thread Jeff Wartes
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

Re: Separating cores from Solr home

2016-03-03 Thread Upayavira
, 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

Re: Separating cores from Solr home

2016-03-03 Thread Tom Evans
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

Separating cores from Solr home

2016-03-03 Thread Tom Evans
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

[ANN]: Blog article: every Solr home and example in Solr 5.3

2015-11-02 Thread Alexandre Rafalovitch
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

Re: solr.xml coreRootDirectory relative to solr home

2014-11-07 Thread Chris Hostetter
: 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

solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Andreas Hubold
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

Re: solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Erick Erickson
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

Re: solr.xml coreRootDirectory relative to solr home

2014-11-06 Thread Shawn Heisey
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

solr home in jar?

2012-07-17 Thread Matt Mitchell
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

solr/home property seting

2011-05-18 Thread kun xiong
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

Re: solr/home property seting

2011-05-18 Thread Grijesh
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

Setting solr home directory in websphere

2010-10-18 Thread Kevin Cunningham
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

Re: Setting solr home directory in websphere

2010-10-18 Thread Israel Ekpo
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

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-28 Thread Jon Drukman
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

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-27 Thread Chris Hostetter
: 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

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Siddhant Goel
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

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Jon Drukman
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

Re: SEVERE: Could not start SOLR. Check solr/home property

2010-04-26 Thread Otis Gospodnetic
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

Re: access denied to solr home lib dir

2009-11-24 Thread Charles Moad
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

Re: access denied to solr home lib dir

2009-11-23 Thread Charles Moad
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

access denied to solr home lib dir

2009-11-22 Thread Charles Moad
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

Re: access denied to solr home lib dir

2009-11-22 Thread Yonik Seeley
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

Re: Problem getting Solr home from JNDI in Tomcat

2009-10-01 Thread Andrew Clegg
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

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-30 Thread Andrew Clegg
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

Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Andrew Clegg
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

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Constantijn Visinescu
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

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Andrew Clegg
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

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Chris Hostetter
: 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

Re: Problem getting Solr home from JNDI in Tomcat

2009-09-29 Thread Chris Hostetter
: 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...

solr home

2009-09-25 Thread Park, Michael
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

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
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

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-05 Thread Archon810
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

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
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

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Archon810
;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

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
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

Re: Solr, JNDI config, dataDir, and solr home problem

2009-09-04 Thread Archon810
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, JNDI config, dataDir, and solr home problem

2009-09-03 Thread Archon810
=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

Cannot get solr to pickup solr/home property

2009-08-16 Thread Aaron Aberg
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

Re: solr/home in web.xml relative to web server home

2009-08-08 Thread Chris Hostetter
: 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

How to set solr/home in linux OS?

2009-08-06 Thread huenzhao
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

Re: How to set solr/home in linux OS?

2009-08-06 Thread Chantal Ackermann
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

Re: How to set solr/home in linux OS?

2009-08-06 Thread huenzhao
, 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

Re: How to set solr/home in linux OS?

2009-08-06 Thread Otis Gospodnetic
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

Re: How to set solr/home in linux OS?

2009-08-06 Thread Amit Nithian
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

solr/home in web.xml relative to web server home

2009-07-29 Thread Chantal Ackermann
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

Re: solr/home in web.xml relative to web server home

2009-07-29 Thread Shalin Shekhar Mangar
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

Solr Home on Linux JBoss ignored

2009-06-05 Thread Dean Pullen
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

RE: Solr Home on Linux JBoss ignored

2009-06-05 Thread Dean Pullen
: 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

Re: Solr Home on Linux JBoss ignored

2009-06-05 Thread Matt Weber
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

RE: getting solr home path dynamically

2009-04-01 Thread Radha C.
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

Re: getting solr home path dynamically

2009-04-01 Thread Erik Hatcher
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

Re: Check solr/home property

2008-10-03 Thread sunnyfr
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

Re: Check solr/home property

2008-10-03 Thread sunnyfr
/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

Re: Check solr/home property

2008-10-03 Thread Shalin Shekhar Mangar
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

Re: Check solr/home property

2008-10-03 Thread Erik Hatcher
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

Re: Check solr/home property

2008-10-03 Thread sunnyfr
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

Re: Check solr/home property

2008-10-02 Thread Chris Hostetter
: : 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

Check solr/home property

2008-10-01 Thread sunnyfr
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

Solr 1.3 does not recognize Solr home...

2008-09-22 Thread William Pierce
-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

Re: Solr 1.3 does not recognize Solr home...

2008-09-22 Thread Ryan McKinley
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

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Jacob Singh
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

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Shalin Shekhar Mangar
/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

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Jacob Singh
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

Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
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

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Stefan Oestreicher
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

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
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

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Stefan Oestreicher
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

Re: Problems finding solr/home using JNDI on tomcat

2008-06-13 Thread Kjeld Froberg
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

Re: Tomcat 6.0 solr home not set (solved)

2008-03-22 Thread David Arpad Geller
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.

Re: Tomcat 6.0 solr home not set (solved)

2008-03-22 Thread Chris Hostetter
: 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

Re: Tomcat 6.0 solr home not set (solved)

2008-03-21 Thread Chris Hostetter
: 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

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Chris Hostetter
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

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
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

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
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

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread David Arpad Geller
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

Re: Tomcat 6.0 solr home not set

2008-03-19 Thread Jayson Minard
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

Re: Tomcat 6.0 solr home not set (solved)

2008-03-19 Thread David Arpad Geller
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

Re: Tomcat 6.0 solr home not set (solved)

2008-03-19 Thread Matthew Runo
/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

context-relative solr/home

2007-09-12 Thread Arnone, Anthony
). 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

solr/home

2007-09-06 Thread Matt Mitchell
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

Re: solr/home

2007-09-06 Thread Matt Mitchell
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

Re: multiple solr home directories

2007-09-03 Thread Henrib
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

Re: multiple solr home directories

2007-08-31 Thread Chris Hostetter
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

Re: multiple solr home directories

2007-08-31 Thread Ozgur Yilmazel
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

RE: Re: multiple solr home directories

2007-08-31 Thread Stu Hood
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

Re: multiple solr home directories

2007-08-30 Thread Chris Hostetter
* 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

Re: multiple solr home directories

2007-08-30 Thread Yu-Hui Jin
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

multiple solr home directories

2007-08-29 Thread Yu-Hui Jin
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

Setting Solr Home via JNDI on Tomcat Bundled with JBoss

2007-03-22 Thread Theodan
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

  1   2   >