Re: Changing "configSetBaseDir" leads to, Can't find resource 'solrconfig.xml' in classpath error while creating core

2017-02-14 Thread Erick Erickson
;org.apache.solr.core.SolrResourceNotFoundException > > > Error CREATEing SolrCore 'newcore': Unable to create core [newcore] Caused > by: Can't find resource 'solrconfig.xml' in classpath or > '/Users/karlapudis/TrySolr/solr-6.3.0/server/solr/newcore&#x

Changing "configSetBaseDir" leads to, Can't find resource 'solrconfig.xml' in classpath error while creating core

2017-02-14 Thread saiks
om_config 400 3 org.apache.solr.common.SolrException org.apache.solr.core.SolrResourceNotFoundException Error CREATEing SolrCore 'newcore': Unable to create core [newcore] Caused by: Can't find resource 'solrconfig.xml' in classpath or '/Users/karlapudis/TrySolr/solr-6.3.0/se

Re: How do I use Spring Boot when Solr 6.1 (and thus Jetty 9.3) is on the classpath?

2016-06-24 Thread Henrik Brautaset Aronsen
Hi Matt, We use org.apache.solr.client.solrj.embedded.JettySolrRunner from solr-core in our tests, and it has references to severeal org.eclipse.jetty.server.* classes. Cheers, Henrik On Fri, Jun 24, 2016 at 10:01 AM, Matt Pearce wrote: > > Henrik, > > What Solr dependencies are you using? So

Re: How do I use Spring Boot when Solr 6.1 (and thus Jetty 9.3) is on the classpath?

2016-06-24 Thread Matt Pearce
Henrik, What Solr dependencies are you using? SolrJ doesn't rely on Jetty, and should be enough to query, index, etc. -Matt On 24/06/16 08:45, Henrik Brautaset Aronsen wrote: I have a Spring Boot project, and I am trying to upgrade from Solr 5.4 to Solr 6.1. Solr 6.1 has a dependency to Jet

How do I use Spring Boot when Solr 6.1 (and thus Jetty 9.3) is on the classpath?

2016-06-24 Thread Henrik Brautaset Aronsen
I have a Spring Boot project, and I am trying to upgrade from Solr 5.4 to Solr 6.1. Solr 6.1 has a dependency to Jetty 9.3. Now Spring Boot complains: it gives a NoClassDefFoundError: org/eclipse/jetty/server/handler/ContextHandler$NoContext. ContextHandler exists in Jetty 9.3, but not the inner cl

Re: Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-05 Thread Vaibhav Bhandari
Hi Shalin, Yes I did read that. But, putting jars in the classpath isn't a problem in our deployment cycle and sounds more simple. Thanks, Vaibhav On Thu, Jun 4, 2015 at 8:34 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > Since you are moving to Solr 5.x, have you

Re: Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Shalin Shekhar Mangar
gt; I wish this was documented though. > > -Vaibhav > > On Thu, Jun 4, 2015 at 11:22 AM, Shawn Heisey wrote: > > > On 6/4/2015 12:01 PM, Vaibhav Bhandari wrote: > > > With Solr 5.X, however, I am finding it hard to include my > custom-plugin > > > jars in t

Re: Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Vaibhav Bhandari
gt; jars in the classpath. I am using bin/solr script to start up Solr. > > > > I have tried a few things: > > > >1. Passing the path of custom jars as -Djava.class.path= > >2. Passing the path as -a "-cp " > >3. Copying the jars inside server/

Re: Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Shawn Heisey
On 6/4/2015 12:01 PM, Vaibhav Bhandari wrote: > With Solr 5.X, however, I am finding it hard to include my custom-plugin > jars in the classpath. I am using bin/solr script to start up Solr. > > I have tried a few things: > >1. Passing the path of custom jars as -Djava.

Problems while setting classpath (while upgrading to Solr 5.1 from Solr 4.X)

2015-06-04 Thread Vaibhav Bhandari
Hi, I am trying to upgrade Solr 4.X to Solr 5.1.0. I am using Maven to compile solr. Previously, I was packing my custom-plugin jars with solr.war and everything worked fine. With Solr 5.X, however, I am finding it hard to include my custom-plugin jars in the classpath. I am using bin/solr

Re: Classpath for Solr Plugins

2014-05-27 Thread Alexandre Rafalovitch
which is a > class we don't use in our system. We can put the custom tokenizer in the Solr > classpath from any other location but it needs to reside in the classpath of > the enclosing application due to the overall architecture of our system. > > The solution to our pro

Classpath for Solr Plugins

2014-05-27 Thread Jan Nehring
ArabicLetterTokenizer which is a class we don't use in our system. We can put the custom tokenizer in the Solr classpath from any other location but it needs to reside in the classpath of the enclosing application due to the overall architecture of our system. The solution to our problem was to manipulate J

Re: Set up embedded Solr container and cores programmatically to read their configs from the classpath

2014-02-12 Thread Alan Woodward
e. However, now I want to change this > so that all configuration files are loaded from certain locations > using the classloader but I have not been able to get this to work. > > E.g. I want to have my solr config located in the classpath at > > my/base/package/solr/conf >

Set up embedded Solr container and cores programmatically to read their configs from the classpath

2014-02-11 Thread Robert Krüger
and create using File arguments and this works fine. However, now I want to change this so that all configuration files are loaded from certain locations using the classloader but I have not been able to get this to work. E.g. I want to have my solr config located in the classpath at my/base/package

Re: CLASSPATH

2012-05-09 Thread Glen Newton
; Tolga - you should ask on the Nutch mailing list, not Solr one. :) >> >> Otis >> Performance Monitoring for Solr / ElasticSearch / HBase - >> http://sematext.com/spm >> >> >> >>> ____ >>> From: Tolga >>

Re: CLASSPATH

2012-05-09 Thread Tolga
s Performance Monitoring for Solr / ElasticSearch / HBase - http://sematext.com/spm From: Tolga To: solr-user@lucene.apache.org Sent: Tuesday, May 8, 2012 4:30 PM Subject: CLASSPATH Hi, Probably off-topic, but what directory should I export to CLASSPATH e

Re: CLASSPATH

2012-05-08 Thread Otis Gospodnetic
PM >Subject: CLASSPATH > >Hi, > >Probably off-topic, but what directory should I export to CLASSPATH >environment variable so that I can begin using nutch? > >Regards, > > >

CLASSPATH

2012-05-08 Thread Tolga
Hi, Probably off-topic, but what directory should I export to CLASSPATH environment variable so that I can begin using nutch? Regards,

Re: Problem witch adding classpath

2012-03-19 Thread ViruS
Hi, Thanks this works! I also yesterday try to make new instance of SOLR and I find bug in my configuration. When i copied files to SOLR_HOME/../dist/ and also i input in configuration directive to contrib they have some collision. My configuration now is SOLR_HOME//conf/solrconfig.xml:

Re: Problem witch adding classpath

2012-03-16 Thread Chantal Ackermann
Hi, I put all those jars into SOLR_HOME/lib. I do not specify them in solrconfig.xml explicitely, and they are all found all right. Would that be an option for you? Chantal On Thu, 2012-03-15 at 17:43 +0100, ViruS wrote: > Hello, > > I just now try to switch from 3.4.0 to 3.5.0 ... i make ne

Saxon + classpath issues

2011-09-22 Thread penela
sformerFactory.java:108) Any ideas? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Saxon-classpath-issues-tp3358200p3358200.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr.xml isn't loaded from classpath?

2011-02-28 Thread Chris Hostetter
: It seems like when "solr home" is absent, Solr makes an attempt to look : a few other places to load its configuration. It will try to look for : solrconfig.xml on the classpath as well. It doesn't seem like it makes : any attempt to find solr.xml though. Why is that? Rea

solr.xml isn't loaded from classpath?

2011-02-10 Thread Nicholas Swarr
(may have double posted...apologies if it is) It seems like when "solr home" is absent, Solr makes an attempt to look a few other places to load its configuration. It will try to look for solrconfig.xml on the classpath as well. It doesn't seem like it makes any attempt to

Re: Jars required in classpath to run embedded solr server?

2010-10-27 Thread Lance Norskog
://wiki.apache.org/solr/Solrj). It is asking for lucene jars in the classpath. Could I know what jars are required to run this? Thanks in advance.

Jars required in classpath to run embedded solr server?

2010-10-26 Thread Tharindu Mathew
Hi everyone, Do we need all lucene jars in the class path for this? Seems that the solr-solrj and solr-core jars are not enough (http://wiki.apache.org/solr/Solrj). It is asking for lucene jars in the classpath. Could I know what jars are required to run this? Thanks in advance. -- Regards

A little discovery about the solr classpath and jetty

2009-09-22 Thread Benson Margulies
On (at least) two occasions, I've opened JIRAs due to my getting tangled up with eclipse, jetty, and solr/lib. Well, it occurs to me that a recent idea might be of general use to others in this regard. This fragment is offered for illustration. The idea here is that you can configure the jetty We

Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/'

2008-09-29 Thread sunnyfr
k solr/home property java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/root/solr-source/src ^Iat org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:168) ^Iat org.apache.solr.core.SolrResourceLoader

Classpath management in the example

2008-03-06 Thread Benson Margulies
I am trying to add a directory and some jars to the classpath in the example, so I can test out some code while being able to modify it in eclipse. My results have me puzzled. I see that the example uses the jetty start.jar. I see only one start.config file in sight, the one inside start.jar

Re: does solr know classpath

2006-09-16 Thread Chris Hostetter
: Subject: Re: does solr know classpath : : i use jetty,,,and put it into solr-nightly\lib with : lucene-snowball-nightly.jar and lucene-core-nightly.jar... putting additional jars you want to use into the lib directory and compiling the war is certainly one way to accomplish your goal

Re: does solr know classpath

2006-09-16 Thread James liu
ote: > i set classpath where i put lucene-analyzers-2.0.0.jar...i can use it. > > but solr not find it.. > > where i should put it in? > >

Re: does solr know classpath

2006-09-16 Thread Simon Willnauer
/solrwebapp/WEB-INF/lib to point out one solution best regards simon On 9/16/06, James liu <[EMAIL PROTECTED]> wrote: i set classpath where i put lucene-analyzers-2.0.0.jar...i can use it. but solr not find it.. where i should put it in?

does solr know classpath

2006-09-16 Thread James liu
i set classpath where i put lucene-analyzers-2.0.0.jar...i can use it. but solr not find it.. where i should put it in?