Does Solr reload schema.xml dynamically?

2010-10-26 Thread Swapnonil Mukherjee
Hi Everybody,

If I change my schema.xml to, do I have to restart Solr. Is there some way, I 
can apply the changes to schema.xml without restarting Solr?

Swapnonil Mukherjee





Re: Does Solr reload schema.xml dynamically?

2010-10-26 Thread David Stuart
If you are using Solr Multicore http://wiki.apache.org/solr/CoreAdmin you can 
issue a Reload command 
http://localhost:8983/solr/admin/cores?action=RELOADcore=core0

On 26 Oct 2010, at 11:09, Swapnonil Mukherjee wrote:

 Hi Everybody,
 
 If I change my schema.xml to, do I have to restart Solr. Is there some way, I 
 can apply the changes to schema.xml without restarting Solr?
 
 Swapnonil Mukherjee
 
 
 



Re: Does Solr reload schema.xml dynamically?

2010-10-26 Thread Peter Karich

 Hi,

See this:
http://wiki.apache.org/solr/CoreAdmin#RELOAD

Solr will also load the new configuration (without restart the webapp) 
on the slaves when using replication:

http://wiki.apache.org/solr/SolrReplication

Regards,
Peter.


Hi Everybody,

If I change my schema.xml to, do I have to restart Solr. Is there some way, I 
can apply the changes to schema.xml without restarting Solr?

Swapnonil Mukherjee







--
http://jetwick.com twitter search prototype



RE: Does Solr reload schema.xml dynamically?

2010-10-26 Thread Ephraim Ofir
Note that usually when you change the schema.xml you have not only to
restart solr, but also rebuild the index, so the issue of how to reload
the file seems like a small problem...

Ephraim Ofir

-Original Message-
From: Peter Karich [mailto:peat...@yahoo.de] 
Sent: Tuesday, October 26, 2010 12:29 PM
To: solr-user@lucene.apache.org
Subject: Re: Does Solr reload schema.xml dynamically?

  Hi,

See this:
http://wiki.apache.org/solr/CoreAdmin#RELOAD

Solr will also load the new configuration (without restart the webapp) 
on the slaves when using replication:
http://wiki.apache.org/solr/SolrReplication

Regards,
Peter.

 Hi Everybody,

 If I change my schema.xml to, do I have to restart Solr. Is there some
way, I can apply the changes to schema.xml without restarting Solr?

 Swapnonil Mukherjee






-- 
http://jetwick.com twitter search prototype



Re: Does Solr reload schema.xml dynamically?

2010-10-26 Thread Swapnonil Mukherjee
Hi Everybody,

Thanks Ephraim and Peter. I think I got my answer.

Swapnonil Mukherjee




On 26-Oct-2010, at 4:23 PM, Ephraim Ofir wrote:

 Note that usually when you change the schema.xml you have not only to
 restart solr, but also rebuild the index, so the issue of how to reload
 the file seems like a small problem...
 
 Ephraim Ofir
 
 -Original Message-
 From: Peter Karich [mailto:peat...@yahoo.de] 
 Sent: Tuesday, October 26, 2010 12:29 PM
 To: solr-user@lucene.apache.org
 Subject: Re: Does Solr reload schema.xml dynamically?
 
  Hi,
 
 See this:
 http://wiki.apache.org/solr/CoreAdmin#RELOAD
 
 Solr will also load the new configuration (without restart the webapp) 
 on the slaves when using replication:
 http://wiki.apache.org/solr/SolrReplication
 
 Regards,
 Peter.
 
 Hi Everybody,
 
 If I change my schema.xml to, do I have to restart Solr. Is there some
 way, I can apply the changes to schema.xml without restarting Solr?
 
 Swapnonil Mukherjee
 
 
 
 
 
 
 -- 
 http://jetwick.com twitter search prototype