JZKit is a pretty large toolkit for developers of search services to embed in their own systems, and it's not always easy to get to grips with ;). Partly thats because if you're using JZKit you're probably already dealing with the Z39.50 specifications along with a host of other concerns.
What developers need are simple starter apps that they can use to hit the ground running. In JZKit3 we've decided to try and address this by putting up some sample configurations of the tool that do useful stuff out of the box. First up.. Making a SOLR server visible as a Z39.50 Server using an easy to change XML config file. Why do that? Well lots of reasons, the most common one at the moment is that SOLR is being used to provide search interfaces into lots of interesting new content, not least of which are the whole new breed of digital object repository projects like Fedora and DSpace. What seems to keep coming back around is institutional librarians saying "But I want that content to be available along-side everything else".
Kewl, a problem we can do something about. For now, the gateway distro lives in our maven repository Here. If you fancy setting up a Z39.50 server to proxy for a local SOLR server, download the compressed tar file from the above URL and unpack it.
Configuration.
After unpacking, look in etc/JZKitConfig.xml you'll see a number of
From here, it should be plain sailing, here's the output of a yaz client session:
(N.B.) XML Markup in the result record is being filtered out by blogger. Actual result record is XML (Actually, in this case it's just the SOLR
yaz-client tcp:@:2100
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 174
Name : JZkit generic server / JZKit Meta Search Service
Version: 3.0.0-SNAPSHOT
Options: search present delSet triggerResourceCtrl scan sort extendedServices namedResultSets negotiationModel
Elapsed: 0.006948
Z> base Test
Z> find @attr 1=4 Dell
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1, setno 1
records returned: 0
Elapsed: 0.002231
Z> format xml
Z> show 1
Sent presentRequest (1+1).
Records: 1
[coll]Record type: XML
nextResultSetPosition = 2
Elapsed: 0.008594
Z> quit
Other components of the config file can be used to control the XML records returned, to convert SOLR records into MARC or to manage meta searching through the gateway, but thats a subject for next time.
Happy meta-searching.
Tuesday, 27 May 2008
Exposing SOLR service(s) as a Z3950 server
Posted by Ibbo at 09:27
Labels: jzkit, metasearch, SOLR, Z3950
Subscribe to:
Post Comments (Atom)
6 Comments:
I never understand the configuration. Maybe because I don't know some of the terms used. Can you give me more detailed example? Thanks.
Kardella - "Wedding Invite Designs"
Is there any information on how to manage meta searching through the gateway? looking forward for an answer. Thanks for your useful information.
~Janet Cox~ "Promo Code for Mozy"
Yeah I definitely agree to jhoanne some of the terms used is very complicated for me. I will be more happy if you sight some basic examples for me thanks.
max - Physical Therapy Assistant School
This is my first time to heard about this information and looking forward to know details and examples of course.
Chester
Manager - "30th Birthday Presents"
Indeed you discussed it clearly for me and you really did a good job.
Engineering Guide
Post a Comment