lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ritesh Gurung <rit...@srijan.in>
Subject Re: A question about how to make schema.xml change take effect
Date Tue, 10 Nov 2009 06:37:37 GMT
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
View raw message