lucene index missing files

Posted by Akhil on Stack Overflow See other posts from Stack Overflow or by Akhil
Published on 2010-04-30T06:00:47Z Indexed on 2010/04/30 6:07 UTC
Read the original article Hit count: 390

Filed under:

I have _0.cfs file of a lucene index directory but segments.gen and segments_2 are missing. Can I generate the segments.gen and segments_2 files without having to regenerate the _0.cfs file. Does these "segments" files contain any index specific data, which will thus force me to regnerate the entire index again. Or can I just generate the two "segments" file by copying these from another lucen index directory gnerated with the same lucene version.

© Stack Overflow or respective owner

Related posts about lucene-index