From ab121ed083cfa1b57dd76d30da92bbebe656f226 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 18 Aug 2015 14:35:27 +0200 Subject: [PATCH] Add a section about using the service --- doc/book.xml | 50 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 3 deletions(-) diff --git a/doc/book.xml b/doc/book.xml index 852994c..5826b16 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -138,7 +138,7 @@ - + Configuration If you have installed mp-sparql as a package or have executed @@ -186,7 +186,7 @@ cp /usr/share/mp-sparql/bibframe/filter-sparql.xml /etc/metaproxy/filters-available cp /usr/share/mp-sparql/bibframe/triplestore.xml /etc/metaproxy - sudo vi /etc/metaproxy/triplestore.xml + vi /etc/metaproxy/triplestore.xml ln -s ../filters-available/filter-sparql.xml /etc/metaproxy/filters-enabled service metaproxy restart @@ -216,6 +216,50 @@ + + Using the service + + Either way, unless you have adjusted the metaproxy configuration, + Metaproxy can be reached on port 9000. Example using yaz-client and + PQF/Type-1: + f @attr 1=bf.anytitle water +Sent searchRequest. +Received SearchResponse. +Search was a success. +Number of hits: 1, setno 1 +records returned: 0 +Elapsed: 0.279441 +Z> s +Sent presentRequest (1+1). +Records: 1 +[work]Record type: XML + + + + ... + +nextResultSetPosition = 0 +Elapsed: 0.256142 +]]> + + + Example using SRU: + + + Reference @@ -253,7 +297,7 @@ along with Metaproxy; see the file LICENSE. If not, write to the Free Software Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - + -- 1.7.10.4