3 # Run the test with a number of queries, plot the results
8 echo "Need an argument, the name of this test run"
9 echo "It will be in the title of all plots, together with the query"
12 (cd ../../src; rm -f pazpar2; make; grep '###' relevance.c )
14 OUTFILE=`echo $1.txt | sed 's/ /_/g'`
15 echo "Run $TITLE" > $OUTFILE
22 echo "Query: $QRY" >> $OUTFILE
23 PNG=`echo "$TITLE $QRY.png" | sed 's/ /_/g' `
24 echo "Graph: $PNG" >> $OUTFILE
25 ./test3.sh "$QRY" "$TITLE"
26 cat stat.line >> $OUTFILE
27 grep "plotline" show.out | head -10 >> $OUTFILE
33 onerun "water or fire or ice"
34 onerun "zen and motorcycle"
36 echo "client#, position, tf/idf, roundrobin, solr, normalized # database # title" >> $OUTFILE