Afternoon all.
As part of our new deployment process (which currently in progress), we sometimes need to copy the postgres database from one server to another. Unsurprisingly, HippoCMS throws lots of indexing related errors on startup, and it doesn't serve content properly.
When I delete the lucene index storage folder, and restart the webapp, it runs fine.
What are the consequences of deleting this index? I will need to do this in production as well.
If it's a problem, are there any ways I can make the index consistent with the new data without deleting the storage folder? I've tried setting the SearchIndex autoRepair, enableConsistencyCheck and forceConsistencyCheck parameters in repository.xml to true, but it didn't fix the issues.
Thanks for your help.
Mark.