lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hani Suleiman <h...@formicary.net>
Subject Re: 1.3 RC2 / timestamp
Date Wed, 22 Oct 2003 16:51:25 GMT
I'll benchmark a known filename with timestamp contents vs single file 
in a subdir, unless there are issues other than performance with one of 
those approaches?

Doug Cutting wrote:

> 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
> 
> 



---------------------------------------------------------------------
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