X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fidzebra%2Fapi.h;h=1b9dd22e150b4c0e6e24df5ec450702089806509;hp=bd6516aafc24128f82620f3800781ed9b5e98afa;hb=810bce66201f40acfd7e8577d3997e6ea385f1cf;hpb=371c6ab1ec4d3e80d4e829a61498487a2f96d774 diff --git a/include/idzebra/api.h b/include/idzebra/api.h index bd6516a..1b9dd22 100644 --- a/include/idzebra/api.h +++ b/include/idzebra/api.h @@ -1,4 +1,4 @@ -/* $Id: api.h,v 1.25 2005-06-02 11:59:53 adam Exp $ +/* $Id: api.h,v 1.26 2005-06-09 10:39:52 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -175,6 +175,17 @@ void zebra_result(ZebraHandle zh, int *code, char **addinfo); YAZ_EXPORT void zebra_clearError(ZebraHandle zh); + +/** + \brief Set limit before Zebra does approx hit count + \param zh session handle + \param approx_limit the limit + + Results will be approximiate if hit count is greater than the + limit specified. By default there is a high-limit (no limit). +*/ +ZEBRA_RES zebra_set_approx_limit(ZebraHandle zh, zint approx_limit); + /** \brief Search using PQF Query \param zh session handle