lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Generate Lucene segments_N file
Date Tue, 09 Feb 2016 14:50:29 GMT

First, I don't know if it's the right mailing list to ask for your help, 
if no please accept my apologies for the inconvenience.

While moving Lucene (5.3) index files from a server to an other, I forgot 
to move the segments_N file (because I use the pattern *.*) 
Unfortunately I've erased the original folder, and I only have these files 
in my directory now : 


I am missing the segments_42u file, and without it I cannot even do an 
org.apache.lucene.index.CheckIndex : 

Exception in thread "main" org.apache.lucene.index.IndexNotFoundException: 
no segments* file found in MMapDirectory@/solr-5.3.1
NativeFSLockFactory@119d7047: files: [write.lock, _1rpt.fdt, _1rpt.fdx, 
_1rpt.fnm, _1rpt.nvd, _1rpt.nvm,, _1rpt_Lucene50_0.doc, 
_1rpt_Lucene50_0.dvd, _1rpt_Lucene50_0.dvm, _1rpt_Lucene50_0.pos, 
_1rpt_Lucene50_0.tim, _1rpt_Lucene50_0.tip]
at org.apache.lucene.index.CheckIndex.checkIndex(
at org.apache.lucene.index.CheckIndex.doMain(
at org.apache.lucene.index.CheckIndex.main(

The index is pretty huge (> 800GB) and it will take weeks to rebuild it.
Is there a way to generate this missing segment info file ?

Thanks a lot for your help.

Khanh-Lam Mai
Exposition  De Rouge et de Noir. Les vases grecs de la collection de Luynes  - jusqu'au 1
er  mars 2016 - BnF - Richelieu Avant d'imprimer, pensez  l'environnement. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message