保留索引,cdh更新schema.xml

比如以前的core 叫IK

创建配置文件的路径 为 /home/collection1

把更新的schema.xml拷贝到/home/collection1/conf下面

然后在使用下面命令:

solrtcl instancedir --update IK /home/collection1

solrctl collection --reload IK


这样以前的数据就不能丢失了

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念