Just copy the index directory, it's self contained. I'd make sure I wasn't actively indexing to it and I'd committed all my indexing first, but that's all.
On Wed, Jan 13, 2016 at 8:33 AM, 鞠朕 <juz...@wilddog.com> wrote: > Hi, I am using Lucene to build a Full Text search system, I put the index > file in some Directory in my server, Considering robust, I think i > shouldbackup the index file in somewhere else. If the index file is broken, i > can switch to the backup one. Can you tell me how to do this, use what > API, can you give me a simple demo. Thanks,From juzhen --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org