X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Fapi.h;h=1a41b65d6728bc1efaec59c66a99897f9663d301;hp=9bb70c668c228b148fcaa0a7ab499ca5aa4dd0c5;hb=0f563f23506dabd7c84bdb750d4539b2b6cacf02;hpb=95d8b81632dd8067f0f7378b751c7b66352956ea diff --git a/include/idzebra/api.h b/include/idzebra/api.h index 9bb70c6..1a41b65 100644 --- a/include/idzebra/api.h +++ b/include/idzebra/api.h @@ -1,4 +1,4 @@ -/* $Id: api.h,v 1.42 2007-01-15 20:08:24 adam Exp $ +/* $Id: api.h,v 1.43 2007-01-16 15:01:15 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -186,6 +186,22 @@ ZEBRA_RES zebra_search_PQF(ZebraHandle zh, const char *pqf_query, \param query RPN query using YAZ structure \param setname name of resultset \param hits number of hits is returned + \param estimated_hit_count whether hit count is an estimate + \param partial_resultset whether result is only partially evaluated +*/ +YAZ_EXPORT +ZEBRA_RES zebra_search_RPN_x(ZebraHandle zh, ODR o, Z_RPNQuery *query, + const char *setname, zint *hits, + int *estimated_hit_count, + int *partial_resultset); + + +/** \brief Search using RPN Query structure (from ASN.1) + \param zh session handle + \param o ODR handle + \param query RPN query using YAZ structure + \param setname name of resultset + \param hits number of hits is returned */ YAZ_EXPORT ZEBRA_RES zebra_search_RPN(ZebraHandle zh, ODR o, Z_RPNQuery *query,