lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dror Matalon <d...@zapatec.com>
Subject Re: Testing for Optimization
Date Thu, 04 Dec 2003 19:57:29 GMT
I believe that indexes that are optimized have only one segment. So in
theory you could check and see that you only have one file with a
".fdt", ".fdx", etc. 

I'm not clear how reliable this method is. 

On Thu, Dec 04, 2003 at 03:03:52PM +0000, jt oob wrote:
> Is there a way to tell if an index is currently optimized?
> 
> I couldn't find a method in the API to check. Is there a way of telling
> if an index has been altered since it was last optimized by looking at
> the files (maybe modified times) in the index directory?
> 
> Thanks,
> 
> jt
> 
> ________________________________________________________________________
> Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
> http://www.yahoo.co.uk/robbiewilliams
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 

-- 
Dror Matalon
Zapatec Inc 
1700 MLK Way
Berkeley, CA 94709
http://www.fastbuzz.com
http://www.zapatec.com

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


Mime
View raw message