From: Dennis Schafroth Date: Wed, 22 Sep 2010 14:02:43 +0000 (+0200) Subject: Extra debug for debugging lost ZOOM_EVENT_RECV_SEARCH on SRU target X-Git-Tag: v1.5.0~4 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=ab6b6a8fd172f0b10be27045c50df99e2c5c54c9;p=pazpar2-moved-to-github.git Extra debug for debugging lost ZOOM_EVENT_RECV_SEARCH on SRU target --- diff --git a/src/client.c b/src/client.c index 0e7fed5..7c563b2 100644 --- a/src/client.c +++ b/src/client.c @@ -485,11 +485,14 @@ void client_search_response(struct client *cl) } else { + yaz_log(YLOG_DEBUG, "client_search_response: hits %d", cl->hits); client_report_facets(cl, resultset); cl->record_offset = cl->startrecs; cl->hits = ZOOM_resultset_size(resultset); - if (se) + if (se) { se->total_hits += cl->hits; + yaz_log(YLOG_DEBUG, "client_search_response: total hits %d", se->total_hits); + } } }