-/* $Id: api.h,v 1.25 2005-06-02 11:59:53 adam Exp $
+/* $Id: api.h,v 1.27 2005-06-22 19:42:38 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
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
YAZ_EXPORT
ZEBRA_RES zebra_result_set_term_info(ZebraHandle zh, const char *setname,
int no, zint *count, int *approx,
- char *termbuf, size_t *termlen);
+ char *termbuf, size_t *termlen,
+ const char **term_ref_id);
/**