lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
Subject Re: Testcase failure on OSX
Date Wed, 01 Oct 2003 16:36:59 GMT
Hani Suleiman wrote:
> Still doesn't 'feel' right though.

I agree.  It makes it no longer a date field, but a version field.  Any 
application which uses the value as a date may fail.

I think a better approach might be to define a sleep constant with 
different values on different OSes.  It could be 1ms by default, and 
1000 on OSX.  It would be better yet if the sleep time could be 
determined based on the filesystem, and only set to 1000 for indexes 
that reside on HFS systems, but that may or may not be easy.

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