Skip to main content.
home | support | download

Back to List Archive

Merging files in 2.0

From: <jmruiz(at)>
Date: Tue Feb 20 2001 - 16:15:40 GMT

Just a note about merging. In 2.0, you can only merge in pairs:

-M file1 file2 mergedfile

The following does not work:

-M file1 file2 ... filen mergedfile

So, to do that

-M file1 file2 mergedfile1
-M mergedfile1file3 mergedfile2
-M mergedfilem filen mergedfile

Sorry for the inconvenience. Because merging files is entirely made 
in RAM, this approach uses less memory. 
The phrase search introduced in 2.0 makes swish use more RAM (to
store word's positions) when index and merging. So merging more 
than two files at once can make some machines run out of memory 
or, at least, page a lot.

Received on Tue Feb 20 16:20:17 2001