Re: Solr Multicore - cant seem to get it working?

2011-02-28 Thread Ahmet Arslan
> 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


If you have multicore setup, it is normal that below URL is not accessible.

http://localhost:210/solr/graphics

You should use the URL ending with 'graphics/admin/' instead. Even if you 
remove last slash, you will get 404 Error.

Here is the list of valid URLs:
http://localhost:210/solr/
http://localhost:210/solr
http://localhost:210/solr/graphics/admin/

Invalid (HTTP ERROR: 404) URLs:

http://localhost:210/solr/graphics
http://localhost:210/solr/graphics/
http://localhost:210/solr/graphics/admin

 


  


Re: Solr Multicore - cant seem to get it working?

2011-02-28 Thread ultranerds
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-370...@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]>
> 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]>
> 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] >
> 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:
> >> >
> >> >
> >> >
> >> > 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: 
> >> > 
> >> > 
> >>
> >> > Error 404 
> >> > 
> >> > HTTP ERROR: 404NOT_FOUND
> >> > RequestURI=/solr/graphics/update
> >> http://jetty.mortbay.org/
> >> > Powered by Jetty:// 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > 
> >> >
> >> > 
> >> > 
> >> > 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>
>
> >> > 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.

Re: Solr Multicore - cant seem to get it working?

2011-02-28 Thread Stefan Matheis
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  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  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] <
> ml-node+2591060-694286558-370...@n3.nabble.com> 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]>
>> 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:
>> >
>> >    
>> >
>> > 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: 
>> > 
>> > 
>>
>> > Error 404 
>> > 
>> > HTTP ERROR: 404NOT_FOUND
>> > RequestURI=/solr/graphics/update
>> http://jetty.mortbay.org/
>> > Powered by Jetty:// 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> >
>> > 
>> > 
>> > 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.
>>
>>
>> --
>>  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
>>  To unsubscribe from Solr Multicore - cant seem to get it working?, click
>> here.
>>
>>
>
>
>
> --
> Andy Newby
> a...@ultranerds.com
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-Multicore-cant-seem-to-get-it-working-tp2588149p2593220.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr Multicore - cant seem to get it working?

2011-02-28 Thread ultranerds
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] <
ml-node+2591060-694286558-370...@n3.nabble.com> 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]>
> 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:
> >
> >
> >
> > 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: 
> > 
> > 
>
> > Error 404 
> > 
> > HTTP ERROR: 404NOT_FOUND
> > RequestURI=/solr/graphics/update
> http://jetty.mortbay.org/
> > Powered by Jetty:// 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > 
> > 
> > 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.
>
>
> --
>  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
>  To unsubscribe from Solr Multicore - cant seem to get it working?, click
> here.
>
>



-- 
Andy Newby
a...@ultranerds.com


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

Re: Solr Multicore - cant seem to get it working?

2011-02-27 Thread Chris Wilkes
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  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:
> 
>
> 
> 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: 
> 
> 
> Error 404 
> 
> HTTP ERROR: 404NOT_FOUND
> RequestURI=/solr/graphics/update http://jetty.mortbay.org/
> Powered by Jetty:// 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 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.


Re: Solr Multicore - cant seem to get it working?

2011-02-27 Thread Ahmet Arslan
> 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:
> 
>      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?

Can you see 'Admin graphics' listed in http://localhost:210/solr/ page?