I have a config file that takes a long time to rotate using the indexer to do so e.g.
indexer --config /home/indexer/MyConfig.conf.php --rotate idx_Big
I can live with that however sometimes when I want to test an updated config it might either break or not deliver desired results. Usually what I do then is
- Revert the Config back to the original working settings
- Index/Rotate again
However I am wondering if I can just copy the 'good' index out of the directory sphinx accesses (e.g. root), index/rotate the new one and then if I don't like the results, instead of doing another hour long index/rotate back to old index just copy the newly indexed idx over with the one I saved in root and then stop/restart e.g..
/usr/bin/searchd -c /home/indexer/MyConf.php --stop
/usr/bin/searchd -c /home/indexer/MyConf.conf.php
Yes I do get that the conf will still be the one with the changes I don't like but the larger question is still relevant to my personal situation; can I replace an index I rotated with a saved version and restart to get back to where I was or do I need to index/rotate the old settings to do so?