lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: 1.3 RC2 / timestamp
Date Wed, 22 Oct 2003 16:32:20 GMT wrote:
> I am not completely sure if including the new timestamp/version number 
> into the filename is more efficient than having it in the file. 
> If the version number is in the filename, do have have to search for 
> the file. I will not know the exact name, will I? 

That is my concern too.  With this approach, the entire directory must 
be enumerated, in Java, to find the file.  When there are lots of 
segments, that could be slower than opening and reading a very small file.


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

View raw message