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

你可能感兴趣的:(Solr)