X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=index%2Fapitest.c;h=ee5fd8cbd0c635a05f3735b6f7d71e131dbdc438;hb=630bd11dcd1518217607091130c5cdd7b3ab10a0;hp=72ba83eb1317d978691606b940116b557be29498;hpb=39d323b0aabcc0f1a08f37c3fa45fb187c7570ac;p=idzebra-moved-to-github.git diff --git a/index/apitest.c b/index/apitest.c index 72ba83e..ee5fd8c 100644 --- a/index/apitest.c +++ b/index/apitest.c @@ -1,4 +1,4 @@ -/* $Id: apitest.c,v 1.13 2003-05-20 13:52:41 adam Exp $ +/* $Id: apitest.c,v 1.16.2.1 2005-01-16 23:13:29 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -20,10 +20,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - - +#include #include - #include #include #include "zebraapi.h" @@ -197,7 +195,7 @@ int main (int argc, char **argv) sprintf (setname, "%d", argno); /* fire up the search */ - zebra_search_RPN (zh, query, setname, &hits); + zebra_search_RPN (zh, odr_input, query, setname, &hits); /* status ... */ zebra_result (zh, &errCode, &errString);