Skip to main content.
home | support | download

Back to List Archive

Re: Problem testing the new 2.2 version

From: Peggy Eaton <peaton(at)not-real.eosdata.gsfc.nasa.gov>
Date: Wed Sep 18 2002 - 17:56:46 GMT
Bill Moseley wrote:

> Could be a problem when indexing more than one file
> 
>   $ ./swish-e -i index.c swish.c

This worked:
daacdev2$ ./swish-e -i index.c swish.c
Indexing Data Source: "File-System"
Indexing "index.c"
Indexing "swish.c"
Removing very common words...
no words removed.
Writing main index...
Sorting words ...
Sorting 1430 words alphabetically
Writing header ...
Writing index entries ...
   Writing word text: Complete
   Writing word hash: Complete
   Writing word data: Complete
1430 unique words indexed.
4 properties sorted.
2 files indexed.  120885 total bytes.  12642 total words.
Elapsed time: 00:00:00 CPU time: 00:00:00
Indexing done!

> 
>  or it could be that "make test" is using a feature that is causing a problem.
> 
>   $ cd ~/swish-e-2.2/tests
>   $ ../src/swish-e -c test.config -v1
> 
And, so did the above:

daacdev2$ ../src/swish-e -c test.config -v1
Indexing Data Source: "File-System"
Indexing "./test.html"
Indexing "./test_meta.html"
Indexing "./test_meta2.html"
Indexing "./test_xml.html"
Indexing "./test_phrase.html"
Indexing "./test.xml"
Indexing "./test.txt"
Removing very common words...
no words removed.
Writing main index...
Sorting words ...
Sorting 62 words alphabetically
Writing header ...
Writing index entries ...
   Writing word text: Complete
   Writing word hash: Complete
   Writing word data: Complete
62 unique words indexed.
8 properties sorted.
7 files indexed.  1433 total bytes.  178 total words.
Elapsed time: 00:00:00 CPU time: 00:00:00
Indexing done!

This is the point where my sysadmins tell me "It must be a personal 
problem"!  I did make the mem.c change before doing these tests.  I 
think I'll try testing the swish-e binary on some real web directories 
and see what happens.
Received on Wed Sep 18 18:00:23 2002