Start SOLR and delete all index data:
http://localhost:8080/solr/update/?stream.body=<delete><query>*:* </query></delete> &stream.contenttype=text/xml;charset=utf-8&commit=true
Stop SOLR and check if it's emptied:
Start creating a new index, browser execution mode:
Stop Run Index:http://localhost:8080/solr/collection1/dataimport?command=abort
Start index:http://localhost:8080/solr/collection1/dataimport?command=full-import
Incremental Index:http://localhost:8080/solr/collection1/dataimport?command=delta-import&clean=false& Commit=true
It is recommended to use the UI when learning to update, to see the running process:
Need to wait for execution to finish, can click "Refrush status" to see the result:
Indexing completed. added/updated:1076 documents. Deleted 0 documents. (duration:03s)
Indicates the end.
Then click on the query on the left to verify the index results:
A query result appears indicating that the creation was successful.
SOLR uses the access address to control the index, delete, create