Hi,

I'm trying to get a Solr install to work with multicores, as I wanna use it
on several sites (each totally different, and I don't obviously wanna have
loads of seperate Solr installs)

Here is what I've done so far (Solr was already uploaded and working
normally, without multicore):

1) Added this to solr.xml:

    <core name="graphics" instanceDir="graphics" />

2) Copied the files from /multicore/core1
3) Edited schema.xml to the fields I want
4) Restarted solr

Then I did the perl stuff, but it doesn't seem to wanna load?

use constant SOLR   => 'http://localhost:210/solr/graphics';

my $title = "foo bar test";
my $desc  = "some short description to test it";
my $link_id = 1234;

use WebService::Solr;

    my $solr      = WebService::Solr->new( SOLR );

404 Not Found: <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 404 </title>
</head>
<body><h2>HTTP ERROR: 404</h2><pre>NOT_FOUND</pre>
<p>RequestURI=/solr/graphics/update</p><p><small> http://jetty.mortbay.org/
Powered by Jetty:// </small></p><br/>                            
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

</body>
</html>
 at /home/user/site.com/cgi-bin/art/admin/WebService/Solr.pm line 180
        WebService::Solr::_send_update('WebService::Solr=HASH(0x13d4b68)',
'XML::Generator::overload=ARRAY(0x13da3f8)') called at
/home/user/site.com/cgi-bin/art/admin/WebService/Solr.pm line 73
        WebService::Solr::add('WebService::Solr=HASH(0x13d4b68)',
'WebService::Solr::Document=HASH(0x6052b8)') called at solr_add_test.cgi
line 42
rgillen@factory /home/rgillen/solr $

Am I doing something wrong? Still reading through the setup process in the
"Solr 1.4" book I brough a while back, but just wanted to make sure it
wasn't something on the server end that wasn't quite working right =)

If I don't use the multicore it seems to work ok (but it obviously doesn't
use the multicore, which is what I wanted to do)

TIA

Andy


-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2588149.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to