Did the schema browser really show a different type after restarting? I
would think you'd have to reindex before the change gets applied to the
actual data. Or is you're index/import process launched on Tomcat startup?
(schema.xml != schema browser ?!)
Chantal
Bertie Shen schrieb:
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 <rit...@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.s...@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.