-/* $Id: xslt3.c,v 1.3 2005-08-18 12:50:20 adam Exp $
+/* $Id: xslt3.c,v 1.5 2006-02-23 11:26:00 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
size_t r;
ZebraService zs = start_up(0, argc, argv);
- ZebraHandle zh = zebra_open(zs);
+ ZebraHandle zh = zebra_open(zs, 0);
check_filter(zs, "xslt");
/* only get hits from first record .. */
do_query(__LINE__, zh, "@attr 1=title computer", 1);
do_query(__LINE__, zh, "@attr 1=control 11224466", 1);
- do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121);
+ do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114);
/* index one more time to see that we don't get dups, since
/* only get hits from first record .. */
do_query(__LINE__, zh, "@attr 1=title computer", 1);
do_query(__LINE__, zh, "@attr 1=control 11224466", 1);
- do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 121);
+ do_query_x(__LINE__, zh, "@attr 1=titl computer", 0, 114);