lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Reviving a dead index
Date Wed, 30 Aug 2006 15:41:41 GMT
Stanislav Jordanov wrote:

> After all, the Lucene's CFS format is abstraction over the OS's native 
> FS and the App should not be trying to open a native FS file named *.fnm
> when it is supposed to open the corresponding *.cfs file and "manually" 
> extract the *.fnm file from it.
> Right?

Yes, good catch :)

This always confuses people, but it's actually "normal" (when a segments 
file is missing) because Lucene first checks whether the compound-file 
exists and if it does it will use that.  If it does not, it falls back 
to trying to directly open the individual files against the filesystem.

So, when there is a problem and a given segment is referenced but does 
not exist, you will see this [confusing] exception making it look like 
Lucene "forgot" that it's using the compound file format.

[Still intending to respond to your previous email but a bit busy right 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message