[Zebralist] SRU with elementSet?

Gert Schmeltz Pedersen gsp at dtv.dk
Thu Sep 30 10:32:04 CEST 2004


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

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





More information about the Zebralist mailing list