[Zebralist] SRU with elementSet?

Adam Dickmeiss adam at indexdata.dk
Thu Sep 30 11:14:32 CEST 2004


Gert Schmeltz Pedersen wrote:

>In order to find the answer to my question below I found this page with
>examples:
>
>http://www.loc.gov/z3950/srutest.html
>
>from which I see the parameter recordSchema, so I tried this
>
>http://indexdata.dk:210/gils?operation=searchRetrieve&version=1.1&x-pque
>ry=utah&maximumRecords=2&recordSchema=B
>
>expecting/hoping to get the records in Brief format, which is what I
>want, similar to 
>
>Z> elements B
>  
>
You are right. It does not work.

YAZ GFS currently transform SRW recordSchema into the string SchemaSpec 
in Z39.50. And Zebra currently does not take that into consideration. 
Since string SchemaSpec is depricated and since Zebra does not deal with 
it, I'm tempted to just change YAZ GFS to convert SRW recordSchema in to 
a simple Z39.50 element set name.

Unless nobody object to that strategy we'll make YAZ 2.0.25 with this 
modification ASAP. It should just be a matter of package upgrade or 
recompile of Zebra/YAZ in order to fix this.

/ Adam

>in yaz-client, which does give me the Brief records. But recordSchema
>does not work like that. I have guessed at other URL parameters like
>element=B, elementSet=B, elementSetName=B and others, but have not found
>one that works. Anybody knows the answer?
>
>
>
>  
>
>>-----Original Message-----
>>From: zebralist-bounces at indexdata.dk 
>>[mailto:zebralist-bounces at indexdata.dk] On Behalf Of Gert 
>>Schmeltz Pedersen
>>Sent: 28. september 2004 11:02
>>To: zebralist at indexdata.dk
>>Subject: [Zebralist] SRU with elementSet?
>>
>>
>>I can search Zebra from the browser in the SRU way:
>>
>> 
>>    
>>
>http://indexdata.dk:210/gils?operation=searchRetrieve&version=1.1&x-pque
>ry=utah&maximumRecords=2
>
>but how can I specify an element set in order to get subrecords instead
>of the full records?
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Gert Schmeltz Pedersen
>Software- & databaseudvikling - Software & Database Development 
>gsp at dtv.dk
>+45 45 25 72 44
>www.dtu.dk - www.dtv.dk - www.cvt.dk
>Danmarks Tekniske Videncenter - Technical Knowledge Center of Denmark 
>Center for VidenTeknologi - Center for Knowledge Technology 
>Anker Engelunds Vej 1 P.O. 
>Box 777 DK-2800  Lyngby 
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>_______________________________________________
>Zebralist mailing list
>Zebralist at indexdata.dk
>http://www.indexdata.dk/mailman/listinfo/zebralist
>
>
>_______________________________________________
>Zebralist mailing list
>Zebralist at indexdata.dk
>http://www.indexdata.dk/mailman/listinfo/zebralist
>
>  
>






More information about the Zebralist mailing list