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
原文地址:https://www.cnblogs.com/rainbowzc/p/4354198.html