From: Adam Dickmeiss Date: Tue, 4 May 2010 12:58:49 +0000 (+0200) Subject: ZOOM: scan number is 20 by default X-Git-Tag: v4.0.8~9 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=32edfa3b68ce3da45cb97375917764379b882767;p=yaz-moved-to-github.git ZOOM: scan number is 20 by default --- diff --git a/doc/zoom.xml b/doc/zoom.xml index 55db631..2ed7b9f 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -965,7 +965,7 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) numberNumber of Scan Terms requested in next scan. After scan it holds the actual number of terms returned. - 10 + 20 positionPreferred Position of term in response in next scan; actual position after completion of scan. diff --git a/src/zoom-c.c b/src/zoom-c.c index 806cac4..b95ba00 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2906,7 +2906,7 @@ static zoom_ret ZOOM_connection_send_scan(ZOOM_connection c) } *req->numberOfTermsRequested = - ZOOM_options_get_int(scan->options, "number", 10); + ZOOM_options_get_int(scan->options, "number", 20); req->preferredPositionInResponse = odr_intdup(c->odr_out,