Hi Ahmed,

if you have a multi core setup, you could change the file
programmatically (e.g. via XML parser), copy the new file to the
existing one (programmatically, of course), then reload the core.

I haven't reloaded the core programmatically, yet, but that should be
doable via SolrJ. Or - if you are not using Java, then call the specific
core admin URL in your programme.

You will have to re-index after changing the schema.xml.

Chantal


On Thu, 2011-12-22 at 04:34 +0100, Otis Gospodnetic wrote:
> Ahmed,
> 
> At this point in time - no.  You need to edit it manually and restart Solr to 
> see the changed.
> This will change in the future.
> 
> Otis
> ----
> Performance Monitoring SaaS for Solr - 
> http://sematext.com/spm/solr-performance-monitoring/index.html
> 
> 
> 
> >________________________________
> > From: Ahmed Abdeen Hamed <ahmed.elma...@gmail.com>
> >To: solr-user@lucene.apache.org 
> >Sent: Wednesday, December 21, 2011 4:12 PM
> >Subject: Update schema.xml using solrj APIs
> > 
> >Hello friend,
> >
> >I am new to Solrj and I am wondering if there is a away you can update the
> >schema.xml file via the APIs.
> >
> >I would appreciate any help.
> >
> >Thanks very much,
> >-Ahmed
> >
> >
> >

Reply via email to