[Yazlist] z3950 query through yazproxy returns only 'brief' result

Mike Taylor mike at indexdata.com
Tue Jan 27 12:37:01 CET 2009


listen listen writes:
 > Hello,
 > 
 > I am using yazproxy to connect to a password protected z3950 service.
 > 
 > When I issue a search request such as:
 > 
 > http://localhost:9000/<some
 > target>?version=1.1&operation=searchRetrieve&query=water&maximumRecords=30&recordSchema=marcxml&startRecord=1
 > 
 > I receive result records that contain only a few fields - for example:
 > 
 > <datafield tag="100" ind1=" " ind2=" ">
 > <subfield code="a">Gleick, Peter H.</subfield>
 > </datafield>
 > -
 > <datafield tag="245" ind1=" " ind2=" ">
 > <subfield code="a">The world's water, 2004-2005</subfield>
 > </datafield>
 > -
 > <datafield tag="260" ind1=" " ind2=" ">
 > <subfield code="b">Island Press</subfield>
 > </datafield>
 > -
 > <datafield tag="300" ind1=" " ind2=" ">
 > <subfield code="a">238</subfield>
 > </datafield>
 > -
 > <datafield tag="901" ind1=" " ind2=" ">
 > <subfield code="s">1.00</subfield>
 > </datafield>
 > 
 > When I issue the same query using yaz-client (without issuing the 'elements'
 > command) - I get the same fields as above. However, if I issue the 'elements
 > F' command - then issue the 'show' command - I get more fields (some fields
 > excluded for brevity):
 > 
 > 010    $a 2002-7193
 > 020    $a 0-8225-4592-6 (lib. bdg. : alk. paper)
 > 050    $a GB662.3
 > 072    $a Books; Book review
 > 082    $a 551.48
 > 100    $a Nelson, Robin
 > 245    $a Where is water?
 > 260    $a United States $b Lerner Publs.
 > 300    $a p. cm
 > 440    $a First step nonfiction
 > 546    $a English
 > 650    $a Water; Water/Juvenile literature; Hydrology/Juvenile literature
 > 787    $t Booklist v. 100 no. 4 (Oct. 15 2003). Zvirin, Stephanie, reviewer
 > $t School Library Journal v. 50 no. 1 (Jan. 2004). Lowery, Jean, reviewer
 > [with full text]
 > 901    $a Y $c Y $f Nonfiction $s 1.00
 > 
 > Is there a brief record that is sent by default?

It is up to the server what it sends when no element-set name is
specified -- could be the brief record, the full record or something
else.

 > Or - is there a way to request the full record?

Yes -- use element-set name, just as you did with yaz-client.

 _/|_	 ___________________________________________________________________
/o ) \/  Mike Taylor    <mike at indexdata.com>    http://www.miketaylor.org.uk
)_v__/\  "Your karma just ran over my dogma" -- Walter Benesch.




More information about the Yazlist mailing list