From: Mike Taylor Date: Thu, 16 Feb 2006 13:27:18 +0000 (+0000) Subject: SRU service description complete. X-Git-Tag: before.bug.529~237 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=ffead55f11110e1502bbc40100e7f4654d3bb8bf SRU service description complete. --- diff --git a/doc/server.xml b/doc/server.xml index 83a5e3c..908b3eb 100644 --- a/doc/server.xml +++ b/doc/server.xml @@ -1,5 +1,5 @@ - + The Z39.50 Server @@ -627,11 +627,11 @@ browser to: - http://localhost:9999/Default?version=1.1& - operation=searchRetrieve& - x-pquery=mineral& - startRecord=1& - maximumRecords=1 + http://localhost:9999/Default?version=1.1 + &operation=searchRetrieve + &x-pquery=mineral + &startRecord=1 + &maximumRecords=1 This will display the XML-formatted SRU response that includes the @@ -683,6 +683,17 @@ various CQL indexes, relations, etc. are translated into Type-1 queries. + + A zebra server running with such a configuration can then be + queried using proper, conformant SRU URLs with CQL queries: + + + http://localhost:9999/Default?version=1.1 + &operation=searchRetrieve + &query=title=utah and description=epicent* + &startRecord=1 + &maximumRecords=1 + @@ -708,23 +719,48 @@ is with some shame, then, that we admit that Zebra also supports an additional query language, our own Prefix Query Format (PQF, ). -x-pquery - - + A PQF query is submitted by using the extension parameter + x-pquery, + in which case the + query + parameter must be omitted, which makes the request not valid SRU. + Please don't do this. Scan - ### + Zebra does not support SRU's + scan + operation, as described at + + + + This is a rather embarrassing surprise as the pieces are all + there: Z39.50 scan is supported, and SRU scan requests are + recognised and diagnosed. To add further to the embarrassment, a + mutant form of SRU scan is supported, using + the non-standard x-pScanClause parameter in + place of the standard scanClause to scan on a + PQF query clause. Explain - ### + Zebra fully supports SRU's core + searchRetrieve + operation, as described at + + + + The ZeeRex record explaining a database may be requested either + with a fully fledged SRU request (with + operation=explain + and version-number specified) + or with a simple HTTP GET at the server's basename.