-/* $Id: charmap1.c,v 1.1 2004-12-02 13:59:08 adam Exp $
- Copyright (C) 2003,2004
- Index Data Aps
+/* $Id: charmap1.c,v 1.4 2005-03-11 17:56:36 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
ZebraHandle zh = zebra_open(zs);
char path[256];
+ check_filter(zs, "grs.xml");
+
zebra_select_database(zh, "Default");
zebra_init(zh);
do_query(__LINE__, zh, "@term string ḥ", 1);
+ /* search for UNICODE A ring */
+ do_query(__LINE__, zh, "@term string lås", 1);
+
+ /* search for aa */
+ do_query(__LINE__, zh, "@term string laas", 1);
+
+ /* search for aa (regular) */
+ do_query(__LINE__, zh, "@attr 5=102 @term string lås", 1);
+
+ /* search for aaa */
+ do_query(__LINE__, zh, "@term string laaas", 0);
+
return close_down(zh, zs, 0);
}