码迷,mamicode.com
首页 > 其他好文 > 详细

solr中重建索引(转)

时间:2015-03-20 18:21:29      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:

  1. Stop your application server
  2. Change your schema.xml file
  3. Start your application server
  4. Delete the index directory in your data directory (or alternately delete all documents using <delete><query>*:*</query></delete> before shutting down Solr)
  5. Send an <optimize/> command
  6. Re-Index your data

solr中重建索引(转)

标签:

原文地址:http://www.cnblogs.com/rainbowzc/p/4354198.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!