On 7/11/22 05:28, Mike wrote:
How can I transfer a 500 GB Solr index to a new server?
If it's the same Solr version, just copy the index directory to the new server. Ideally you will either shut Solr down during the copy, or make VERY sure that there are no index changes happening during the copy. An alternate solution to that would be to shut Solr down or turn indexing off, make a hardlink copy of the index directory, resume normal operations, and then duplicate the hardlink copy. Once the transfer is done, delete the hardlink copy. Making or deleting a hardlink copy should happen almost instantaneously.
If the target Solr is a different version than the source, then it is best to completely reindex, even if the existing index can be read by the new version.
Thanks, Shawn
