lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
Subject Re: 1.3 RC2 / timestamp
Date Wed, 22 Oct 2003 16:32:20 GMT
goller@detego-software.de 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.

Doug


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message