From 5c1b5b3aee37bbac758f7bc2ccf370cfcc6b9723 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 12 Apr 2012 18:11:51 +0200 Subject: [PATCH] Approximation support --- src/session.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/session.h b/src/session.h index 209b33c..886f1b6 100644 --- a/src/session.h +++ b/src/session.h @@ -138,6 +138,7 @@ struct hitsbytarget { const char *id; const char *name; Odr_int hits; + Odr_int approximation; int diagnostic; const char *addinfo; int records; @@ -166,7 +167,7 @@ enum pazpar2_error_code session_search(struct session *s, const char *query, struct record_cluster **show_range_start(struct session *s, struct reclist_sortparms *sp, int start, - int *num, int *total, Odr_int *sumhits); + int *num, int *total, Odr_int *sumhits, Odr_int *approximation); void show_range_stop(struct session *s, struct record_cluster **recs); struct record_cluster *show_single_start(struct session *s, const char *id, -- 1.7.10.4