res[*count].id = client_get_id(cl);
res[*count].name = *name ? name : "Unknown";
res[*count].hits = client_get_hits(cl);
res[*count].id = client_get_id(cl);
res[*count].name = *name ? name : "Unknown";
res[*count].hits = client_get_hits(cl);
res[*count].records = client_get_num_records(cl);
res[*count].filtered = client_get_num_records_filtered(cl);
res[*count].diagnostic =
res[*count].records = client_get_num_records(cl);
res[*count].filtered = client_get_num_records_filtered(cl);
res[*count].diagnostic =
wrbuf_printf(wrbuf, "<records>%d</records>\n", ht[i].records);
wrbuf_printf(wrbuf, "<filtered>%d</filtered>\n", ht[i].filtered);
}
wrbuf_printf(wrbuf, "<records>%d</records>\n", ht[i].records);
wrbuf_printf(wrbuf, "<filtered>%d</filtered>\n", ht[i].filtered);
}
struct record_cluster **show_range_start(struct session *se,
struct reclist_sortparms *sp,
struct record_cluster **show_range_start(struct session *se,
struct reclist_sortparms *sp,
- int start, int *num, int *total, Odr_int *sumhits)
+ int start, int *num, int *total, Odr_int *sumhits, Odr_int *approx_hits)