[Yazlist] support facets over SimpleServer SRU

Denenberg, Ray rden at loc.gov
Thu Jul 21 14:47:08 UTC 2016

Michael - let me try to walk through some of this (with some handwaving).

See the table at:


which shows the response elements.  They are:













Now look at the example response at:


Which shows how some of these response elements are supplied in a response; unfortunately the example does not show <facetedResults>, but it would be supplied in the same manner.  It would simply fit into the response like the other elements.   For example:







              record 1 ….



             record 2 …..




<facetedResults xmlns="http://docs.oasis-open.org/ns/search-ws/sru-facetedResults"


    xsi:schemaLocation="http://docs.oasis-open.org/ns/search-ws/sru-facetedResults facetedResults.xsd">


        <!-- first data source -->

        <datasourceDisplayLabel> LC</datasourceDisplayLabel>

        <datasourceDescription>Library of Congress</datasourceDescription>

        <baseURL> http://z3950.loc.gov:7090/voyager </baseURL>



                <!-- first facet for this datasource -->

                <facetDisplayLabel> subject</facetDisplayLabel>




Sorry, no, LC does not support faceted results.


> -----Original Message-----

> From: Yazlist [mailto:yazlist-bounces at lists.indexdata.dk] On Behalf Of Michael

> Lackhoff

> Sent: Thursday, July 21, 2016 9:52 AM

> To: Discussion on the YAZ Z39.50 toolkit

> Subject: Re: [Yazlist] support facets over SimpleServer SRU


> Am 21.07.2016 um 14:54 schrieb Denenberg, Ray:

> > Michael -  We had an example XML file at LC several  years ago and

> somehow it disappeared during the transition from an LC spec to an OASIS

> standard.  Too bad, it should have been included in the standard and I cannot

> remember why it wasn't.   Fortunately I found it archived and it is attached.

> >

> > Does it help?


> Definitely, at least for a better understanding. Thanks a lot.


> But wait...

> it looks like a complete XML-document with XML-declaration and everything. Is

> it intended to be delivered this way? I thought it should be delivered as part of

> a bigger searchRetrieve document or did I miss something?

> And is there a service live where I can see all this in action? A working request

> URL that delivers such a facetResults would be really great to play with! Does

> http://z3950.loc.gov:7090/voyager support facets (since it is in the example)?


> Thanks for your help!

> -Michael


> _______________________________________________

> Yazlist mailing list

> Yazlist at lists.indexdata.dk<mailto:Yazlist at lists.indexdata.dk>

> http://lists.indexdata.dk/mailman/listinfo/yazlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.indexdata.dk/pipermail/yazlist/attachments/20160721/ada4d663/attachment-0001.html>

More information about the Yazlist mailing list