From: mike Date: Mon, 19 Dec 2005 17:39:19 +0000 (+0000) Subject: Describe scan1() X-Git-Tag: cpan_1_22~298 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=f4492da65af6b61235b32a54aa8e7553dedc58bb;p=ZOOM-Perl-moved-to-github.git Describe scan1() --- diff --git a/Changes b/Changes index 71bd58d..2542e41 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,4 @@ -$Id: Changes,v 1.6 2005-12-19 13:47:11 mike Exp $ +$Id: Changes,v 1.7 2005-12-19 17:39:19 mike Exp $ Revision history for Perl extension Net::Z3950::ZOOM. @@ -10,6 +10,10 @@ Revision history for Perl extension Net::Z3950::ZOOM. but they don't seem to work: the code in them is slapped down right next to the CODE:, so declarations are not acceptable there either.) + - Add new function Net::Z3950::ZOOM::connection_scan1(), which + uses a query object to indicate the start-term. This opens + the way for using CQL queries for scanning once the + underlying ZOOM-C code supports this. 1.00 Wed Dec 14 11:18:33 GMT 2005 - First distributed version. diff --git a/lib/ZOOM.pod b/lib/ZOOM.pod index eb9204f..998a03a 100644 --- a/lib/ZOOM.pod +++ b/lib/ZOOM.pod @@ -1,4 +1,4 @@ -# $Id: ZOOM.pod,v 1.22 2005-12-13 16:46:59 mike Exp $ +# $Id: ZOOM.pod,v 1.23 2005-12-19 17:42:15 mike Exp $ use strict; use warnings; @@ -300,7 +300,9 @@ the query rather than an object, thereby obviating the need to create a C object. See the documentation of that class for information about PQF. -=head4 scan() +=head4 scan() / scan1() + + ### Code sample needed here! Many Z39.50 servers allow you to browse their indexes to find terms to search for. This is done using the C method, which creates and @@ -372,6 +374,11 @@ each one returned in the ScanSet. By default, no terms are skipped, but overriding this can be useful to get a high-level overview of the index. +The C method is the same as C except that it takes a +Query object as its argument instead of a PQF string. This means +that it can be used to scan using a CQL term, so long as the +underlying ZOOM-C library supports this. + =back =head4 package()