lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertie Shen <bertie.s...@gmail.com>
Subject Re: A question about how to make schema.xml change take effect
Date Tue, 10 Nov 2009 07:15:13 GMT
Oh. Sorry, take back what I said. Most of my config change is at
data-config.xml, not schema.xml.

I just made a change for field data type in schema.xml and noticed that I
have to restart tomcat.



On Mon, Nov 9, 2009 at 10:37 PM, Ritesh Gurung <ritesh@srijan.in> wrote:

> Well everytime you make change in schema.xml file you need restart the
> tomcat server.
>
> On Tue, Nov 10, 2009 at 11:59 AM, Bertie Shen <bertie.shen@gmail.com>
> wrote:
> > Hey folks,
> >
> >  When I update schema.xml, I found most of time I do not need to restart
> > tomcat in order to make change take effect. But sometimes, I have to
> restart
> > tomcat server to make change take effect.
> >
> >   For example, when I change a field data type from sint to tlong, I
> called
> > http://host:port
> /solr/dataimport?command=full-import&commit=true&clean=true.
> > I clicked [Schema] link from admin page and found data type is tlong; but
> > click [Schema Browser] and that field link, I found the data type is
> still
> > sint.  When I make a search, the result also shows the field is still
> sint.
> > The only way to make the change effective I found is to restart tomcat.
> >
> >   I want to confirm whether it is intended or it is a bug.
> >
> >   Thanks.
> >
>

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