Ian Holsman wrote:
Hi.
I'm trying to clean up my segment directory (too stop getting too many
open files).
but when I run
nutch mergesegs segments -m index -ds -i
it deletes *ALL* the segments making the search engine useless.
I am using a recent nightly version (2005-05-15) if that is a issue.
Yes, there is a bug there - thanks for spotting this. Line 570 should
read the following:
if (output == null) output = ((File)dirs.get(0)).getParentFile();
I'll fix it. In the meantime you can also try the -o output_dir .
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com