lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ultranerds <andy.ne...@gmail.com>
Subject Re: Solr Multicore - cant seem to get it working?
Date Mon, 28 Feb 2011 10:15:30 GMT
Hi,

I already did answer that one =)  I'm waiting on my host to add my IP to the
firewall for me, so I can test that part of it (they setup the bog standard
Solr for me, but I'm now trying to get it working with the multicore, as I
think we are gonna need several Solr instances for different parts of the
site)

TIA

Andy

On Mon, Feb 28, 2011 at 10:12 AM, Stefan Matheis [via Lucene] <
ml-node+2593785-1884500610-370856@n3.nabble.com> wrote:

> Andy,
>
> try to answer the question other guys asked you .. and not just write
> something.
>
> On Sun, Feb 27, 2011 at 4:16 PM, Ahmet Arslan <[hidden email]<http://user/SendEmail.jtp?type=node&node=2593785&i=0>>
> wrote:
> > Can you see 'Admin graphics' listed in http://localhost:210/solr/ page?
>
> Regards
> Stefan
>
> On Mon, Feb 28, 2011 at 8:57 AM, ultranerds <[hidden email]<http://user/SendEmail.jtp?type=node&node=2593785&i=1>>
> wrote:
>
> > Hi,
> >
> > Thanks for the reply. I sure did. I did a bit more research, and found
> out
> > that java was still running, so I run:
> >
> > sudo /etc/init.d/solr stop
> >
> > ...then:
> >
> > killall java
> >
> > (just to make sure it was all closed)
> >
> > ...and finally:
> >
> > sudo /etc/init.d/solr start
> >
> > Yet I'm still getting the error about the URL not being accessable :(
> >
> > Could it be a syntax error in schema.xml maybe thats stopping it from
> > loading that particular multicore?
> >
> > Cheers
> >
> > Andy
> >
> > On Sun, Feb 27, 2011 at 10:15 PM, Wilkes, Chris [via Lucene] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=2593785&i=2>>
> wrote:
> >
> >> Did you copy the files into the solr/graphics/ directory?  That
> >> subdirectory should be the same name as the instanceDir.
> >> That is you should have this directory structure:
> >> solr/graphics/conf/
> >> solr/graphics/data/index/
> >>
> >> On Feb 27, 2011, at 5:20 AM, ultranerds <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=2591060&i=0>>
> >> wrote:
> >>
> >> > 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<http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2588149.html?by-user=t>
> <
> http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2588149.html?by-user=t<http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2588149.html?by-user=t&by-user=t>>
>
> >> > Sent from the Solr - User mailing list archive at Nabble.com.
> >>
> >>
> >> ------------------------------
> >>  If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2591060.html<http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2591060.html?by-user=t>
> >>  To unsubscribe from Solr Multicore - cant seem to get it working?,
> click
> >> here<
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2588149&code=YW5keS5uZXdieUBnbWFpbC5jb218MjU4ODE0OXw3ODE4NzEzNjA=<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2588149&code=YW5keS5uZXdieUBnbWFpbC5jb218MjU4ODE0OXw3ODE4NzEzNjA=&by-user=t>>.
>
> >>
> >>
> >
> >
> >
> > --
> > Andy Newby
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=2593785&i=3>
> >
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2593220.html<http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2593220.html?by-user=t>
>
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2593785.html
>  To unsubscribe from Solr Multicore - cant seem to get it working?, click
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2588149&code=YW5keS5uZXdieUBnbWFpbC5jb218MjU4ODE0OXw3ODE4NzEzNjA=>.
>
>



-- 
Andy Newby
andy@ultranerds.com


-- 
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2593796.html
Sent from the Solr - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message