lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jt oob <jt2...@yahoo.co.uk>
Subject Re: Testing for Optimization
Date Fri, 05 Dec 2003 11:41:44 GMT
 --- Dror Matalon <dror@zapatec.com> wrote: > 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. 

If run `cat/index_dir/segements` on an optimized index there is only 
only string in there. It matches up with prefix of files in the index
directory.

If i run the same on an un-optimized index dir then i get back several
strings.

There are more files in the optimized index dir than just the ones with
the prefix listed in the segments file.
Have i corrupted my indexes?
Can I safely delete those files which do not have the prefix listed in
the segments file?

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


Mime
View raw message