ZOOM: scan number is 20 by default
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 May 2010 12:58:49 +0000 (14:58 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 4 May 2010 12:58:49 +0000 (14:58 +0200)
doc/zoom.xml
src/zoom-c.c

index 55db631..2ed7b9f 100644 (file)
@@ -965,7 +965,7 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn)
       <row><entry>
         number</entry><entry>Number of Scan Terms requested in next scan.
         After scan it holds the actual number of terms returned.
       <row><entry>
         number</entry><entry>Number of Scan Terms requested in next scan.
         After scan it holds the actual number of terms returned.
-       </entry><entry>10</entry></row>
+       </entry><entry>20</entry></row>
       <row><entry>
         position</entry><entry>Preferred Position of term in response
         in next scan; actual position after completion of scan.
       <row><entry>
         position</entry><entry>Preferred Position of term in response
         in next scan; actual position after completion of scan.
index 806cac4..b95ba00 100644 (file)
@@ -2906,7 +2906,7 @@ static zoom_ret ZOOM_connection_send_scan(ZOOM_connection c)
     }
 
     *req->numberOfTermsRequested =
     }
 
     *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,
 
     req->preferredPositionInResponse =
         odr_intdup(c->odr_out,