lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Abdeen Hamed <ahmed.elma...@gmail.com>
Subject Re: Update schema.xml using solrj APIs
Date Thu, 22 Dec 2011 15:22:40 GMT
Thanks everyone! That was very helpful.
-Ahmed

On Thu, Dec 22, 2011 at 5:15 AM, Chantal Ackermann <
chantal.ackermann@btelligent.de> wrote:

>
> 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.elmasri@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
> > >
> > >
> > >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message