Re: A strange RemoteSolrException

2013-05-27 Thread Shawn Heisey
On 5/27/2013 8:34 AM, Hans-Peter Stricker wrote: > Dear Shawn, dear Shalin, > > thanks for your valuable replies! > > Could/should I have known better (by reading more carefully the manual)? I just looked at the wiki. The SolrJ wiki page doesn't mention using the core name, which I find surpris

Re: A strange RemoteSolrException

2013-05-27 Thread Hans-Peter Stricker
sey" Sent: Monday, May 27, 2013 4:29 PM To: Subject: Re: A strange RemoteSolrException On 5/27/2013 8:24 AM, Hans-Peter Stricker wrote: Yes, I started it up with java -Dsolr.solr.home=example-DIH/solr -jar start.jar. That explains it. See my other reply. The solr.xml file for example-DIH

Re: A strange RemoteSolrException

2013-05-27 Thread Shawn Heisey
On 5/27/2013 8:24 AM, Hans-Peter Stricker wrote: > Yes, I started it up with java -Dsolr.solr.home=example-DIH/solr -jar > start.jar. That explains it. See my other reply. The solr.xml file for example-DIH does not have a defaultCoreName attribute. Thanks, Shawn

Re: A strange RemoteSolrException

2013-05-27 Thread Shawn Heisey
On 5/27/2013 6:15 AM, Hans-Peter Stricker wrote: > I'm writing my first little Solrj program, but don't get it running because > of an RemoteSolrException: Server at http://localhost:8983/solr returned non > ok status:404 > > The server is definitely running and the url works in the browser. >

Re: A strange RemoteSolrException

2013-05-27 Thread Hans-Peter Stricker
y 27, 2013 3:58 PM To: Subject: Re: A strange RemoteSolrException I downloaded solr 4.3.0, started it up with java -jar start.jar (from inside the example directory) and executed your program. No exceptions are thrown. Is there something you did differently? On Mon, May 27, 2013 at 5:45 PM, Hans

Re: A strange RemoteSolrException

2013-05-27 Thread Shalin Shekhar Mangar
I downloaded solr 4.3.0, started it up with java -jar start.jar (from inside the example directory) and executed your program. No exceptions are thrown. Is there something you did differently? On Mon, May 27, 2013 at 5:45 PM, Hans-Peter Stricker wrote: > Hello, > > I'm writing my first little So

A strange RemoteSolrException

2013-05-27 Thread Hans-Peter Stricker
Hello, I'm writing my first little Solrj program, but don't get it running because of an RemoteSolrException: Server at http://localhost:8983/solr returned non ok status:404 The server is definitely running and the url works in the browser. I am working with Solr 4.3.0. This is my source code