solr中重建索引

  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
posted @ 2012-06-03 13:45  coldplayerest  阅读(3868)  评论(0编辑  收藏  举报