# Zebra indexes as referred to from the *.abs-files.
-# $Id: default.idx,v 1.1 2004-07-28 09:47:41 adam Exp $
+# $Id: default.idx,v 1.2 2004-07-28 11:01:58 adam Exp $
#
# Traditional word index
completeness 0
charmap @
-# Sort register as usual but specify another map : string-cut.
+# Sort register as usual but specify another map : string-hat.
sort s
completeness 1
-charmap string-cut.chr
+charmap string-hat.chr
<my>
<title>3rd computer</title>
+ <dateTime>a^3</dateTime>
</my>
<my>
- <title>third ^computer</title>
+ <title>fourth computer</title>
+ <dateTime>4</dateTime>
</my>
#!/bin/sh
-# $Id: test1.sh,v 1.8 2004-07-28 09:47:41 adam Exp $
+# $Id: test1.sh,v 1.9 2004-07-28 11:01:58 adam Exp $
pp=${srcdir:-"."}
../api/testclient -n4 unix:socket '@or computer @attr 7=1 @attr 1=30 0' >tmp1
echo 'Result count: 4
my:
- title: 3rd computer
-my:
- title: third ^computer
-my:
title: second computer
dateTime: 1
my:
title: first computer
- dateTime: 2' >tmp2
+ dateTime: 2
+my:
+ title: 3rd computer
+ dateTime: a^3
+my:
+ title: fourth computer
+ dateTime: 4' >tmp2
kill `cat lock/zebrasrv.pid`
diff tmp1 tmp2