Compress index file space on windows server

Question>> How can I safely compress the solr index size on a windows server? I've done lots of test indexing and then deleted much of what was indexed but the file sizes aren't decreasing. I see posts on the internet saying this happens on windows due to issues with open file handles on windows. Is there a way to compress the file sizes?

Answer>> Run an optimize. If you do a delete, the data is still there, just marked as deleted. If you run an optimize it will take all the segments and merge them down deleting anything that is old.

Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk