Skip to main content.
home | support | download

Back to List Archive

Changed behaviour of merge?

From: Stefan Bergstrand <stefan.bergstrand(at)not-real.polopoly.com>
Date: Tue May 22 2001 - 14:03:21 GMT
Has merging changed somewhere between 2.0.5 and 2.1-dev20? In 2.0.5 i
set "IndexName polopolyindex" in swish.conf, I could then merge two
indexes into one using:

swish-e -c /.../swish.conf -M /.../133/polopolyindex /.../132/polopolyindex /.../104/polopolyindex

and have the combined indexes for 133 and 132 in 104. But when I try
this with 2.1-dev20, I get the following (the lines starting with "Stefan"
comes from the line 

 printf("Stefan: 1 = %s, 2 = %s, res = %s\n", file1, file2, outfile); 

which I added on line 71 in merge.c:



Stefan: 1 = /.../133/polopolyindex, 2 = /.../132/polopolyindex, res = /var/tmp/swmeYBpP2z
Opening and reading file 1 header...
Opening and reading file 2 header...
Counting files... 2 files.

Reading file 1 info ...
Reading file 2 info ...
Creating output file ... 
Merging words... 13 redundant words.

Printing header... 
Printing words... 
Writing index entries ...
Sorting Words alphabetically
Writing stopwords ...
Writing buzzwords ...

Merging file info... no redundant files.
Writing file offsets ...
Writing MetaNames ...
Writing Location lookup tables ...

Done.
Stefan: 1 = /var/tmp/swmeYBpP2z, 2 = /.../104/polopolyindex, res = index.swish-e
Opening and reading file 1 header...
Opening and reading file 2 header...
err: Couldn't read the index file "/.../104/polopolyindex".
..


What is going on?


/Stefan Bergstrand


-- 
Stefan Bergstrand
Polopoly AB (publ)
Tel: + 46 8 506 782 67
Mobile: + 46 70 447 82 67
mailto:stefan.bergstrand@polopoly.com
Received on Tue May 22 14:04:19 2001