- Stop your application server
- Change your schema.xml file
- Start your application server
- Delete the index directory in your data directory (or alternately delete all documents using <delete><query>*:*</query></delete> before shutting down Solr)
- Send an <optimize/> command
- Re-Index your data
转载于:https://www.cnblogs.com/coldplayerest/archive/2012/06/03/2532696.html