保留索引,cdh更新schema.xml

好比之前的core 叫IKxml

建立配置文件的路径  为 /home/collection1io

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

而后在使用下面命令:
date

solrtcl instancedir --update  IK   /home/collection1配置文件

solrctl collection --reload IK数据


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

相关文章
相关标签/搜索