From: Adam Dickmeiss Date: Tue, 18 Aug 2015 12:35:27 +0000 (+0200) Subject: Add a section about using the service X-Git-Tag: v0.7~3 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=ab121ed083cfa1b57dd76d30da92bbebe656f226;p=mp-sparql-moved-to-github.git Add a section about using the service --- 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 - +