While the index files are being uploaded to the web server, no one can do any searches for a period of time. If someone tries to search, they'll get a 404 error (cgi version). I was wondering how this should be handled?
Announcement
Collapse
No announcement yet.
search will fail while uploading index files
Collapse
X
-
At the moment, the best you can do to minimize this is to run the Indexer on the server itself. This is only possible if you have a Windows server and if you have permission to set this up (usually if you host the server yourself). The index files are written to temporary files and then renamed over when they are completed to minimize downtime.
In a future version, we plan to add an option to upload the files using a temporary name, and then rename the files after all the files have been uploaded. This would work similar to the above method in minimizing the downtime during an update.
You could manually replicate this behaviour if you are uploading the files with an external FTP client (ie. upload the files under a different name/extension and then remotely rename them after they have all been uploaded).
Comment