Added Ids. Better logging
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 19 Jun 2002 08:32:34 +0000 (08:32 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 19 Jun 2002 08:32:34 +0000 (08:32 +0000)
test/dmoz/all.sh
test/dmoz/fetch.sh
test/dmoz/update.sh
test/dmoz/zebra-b.cfg
test/dmoz/zebra-c.cfg

index 36da4e8..7940d5d 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-rm zebraidx.log
+# $Id: all.sh,v 1.2 2002-06-19 08:32:34 adam Exp $
 ./update.sh b
 ./update.sh c
 gnuplot plot.dem
index 4b32ca4..d1eeca5 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+# $Id: fetch.sh,v 1.2 2002-06-19 08:32:34 adam Exp $
 if test ! -f content.rdf.u8; then
    wget http://dmoz.org/rdf/content.rdf.u8.gz
    gunzip content.rdf.u8.gz
index 1835eeb..f8a0872 100755 (executable)
@@ -1,14 +1,15 @@
 #!/bin/sh
+# $Id: update.sh,v 1.2 2002-06-19 08:32:34 adam Exp $
 t=$1
 test -n "$t" || exit 1
 rm -f *.mf *.LCK *.tmp
 ../../index/zebraidx -l zebraidx.log init 
 i=0
-rm -f times-$t.log
+rm -f times-$t.log zebraidx-$t.log
 while test -f dmoz.$i.xml; do
        echo -n "$i " >>times-$1.log
-       /usr/bin/time -f '%e %U %P' -a -o times-$t.log ../../index/zebraidx -l zebraidx.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml
-       ../../index/zebraidx -l zebraidx.log -c zebra-$t.cfg stat
+       /usr/bin/time -f '%e %U %P' -a -o times-$t.log ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg -f 10 update dmoz.$i.xml
+       ../../index/zebraidx -l zebraidx-$t.log -c zebra-$t.cfg stat
        i=`expr $i + 1`
        if test $i = 29; then
                break
index baa9c1e..44a2bb4 100644 (file)
@@ -1,7 +1,4 @@
-# Simple Zebra configuration file
-# $Id: zebra-b.cfg,v 1.1 2002-06-19 08:28:55 adam Exp $
-#
-# Where the schema files, attribute files, etc are located.
+# $Id: zebra-b.cfg,v 1.2 2002-06-19 08:32:34 adam Exp $
 profilePath: .:../../tab:../../../yaz/tab
 
 # Files that describe the attribute sets supported.
index 7229218..dd8ddca 100644 (file)
@@ -1,7 +1,4 @@
-# Simple Zebra configuration file
-# $Id: zebra-c.cfg,v 1.1 2002-06-19 08:28:55 adam Exp $
-#
-# Where the schema files, attribute files, etc are located.
+# $Id: zebra-c.cfg,v 1.2 2002-06-19 08:32:34 adam Exp $
 profilePath: .:../../tab:../../../yaz/tab
 
 # Files that describe the attribute sets supported.