Update SOLR document without adding deleted documents
问题 I'm running a lot of SOLR document updates which results in 100s of thousands of deleted documents and a significant increase in disk usage (100s of Gb). I'm able to remove all deleted document by doing an optimize curl http://localhost:8983/solr/core_name/update?optimize=true But this takes hours to run and requires a lot of RAM and disk space. Is there a better way to remove deleted documents from the SOLR index or to update a document without creating a deleted one? Thanks for your help!