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

Adam Dickmeiss adam at indexdata.dk
Tue Jan 27 22:30:11 CET 2009


listen listen wrote:
> 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):
When yazproxy converts from ISO2709 encoded MARC to MARCXML it always 
omits element set name in the request to backend target. Clearly the 
target you use chooses to use "Brief" sementics when the element set is 
omitted.

There is no way to alter it in your SRU request or configuration for 
yazproxy. You'll have to use Metaproxy or change the code inside yazproxy.

/ Adam
>
> 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? Or - is there a way 
> to request the full record?
>
> Thanks!
>
> Dan.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yazlist mailing list
> Yazlist at lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist
>   




More information about the Yazlist mailing list