X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=zebra%2FREADME;h=d262f053fd4c3815481cbac1d0715cf4646d7fd5;hp=0b2713cb0c8d1c7ea1068b2c5b0665ce1112286e;hb=2185164008cd6dd14e31e44bb70027de83ce4316;hpb=83711bfe2c72e8c454f64d49cb95879564fc3193 diff --git a/zebra/README b/zebra/README index 0b2713c..d262f05 100644 --- a/zebra/README +++ b/zebra/README @@ -1,4 +1,4 @@ -$Id: README,v 1.16 2006-12-13 12:02:52 mike Exp $ +$Id: README,v 1.20 2007-04-18 20:36:36 mike Exp $ What's what in this directory: @@ -79,7 +79,7 @@ db -- A subdirectory containing the actual database: register files, dictionaries and suchlike. form.html -- A simple HTML search form that submits SRU queries to a - server running on local port 3313. + server running on local port 8018. init-script -- A startup/shutdown script for controlling the zebra server according to "System V init" rules. Instructions can @@ -92,17 +92,12 @@ crontab -- An example file that can be used to automate periodic -- -To create the database and start the server: +The database can be interrogated with SRU URLs such as: + http://localhost:8018/IR-Explain---1?version=1.1&operation=searchRetrieve&maximumRecords=10&recordSchema=zeerex&query=net.protocol=sru -zebraidx-2.0 init # Remove any existing database records -zebraidx-2.0 update zeerex.xml # The single record describe this DB, or: -zebraidx-2.0 update records # The many records harvested from Index Data -zebraidx-2.0 commit -zebrasrv-2.0 -f yazserver.xml - -To run all these commands, use: -sed -n '/^zebraidx/,+3p' README | while read line; do eval $line; done - -Then interrogate the database with SRU URLs such as: - http://localhost:3313/IR-Explain---1?version=1.1&operation=searchRetrieve&maximumRecords=10&recordSchema=zeerex&query=net.protocol=sru +To create the database: +tar xzf records-2007-04-18.tar.gz +zebraidx-2.0 init +zebraidx-2.0 update records-2007-04-18 +zebraidx-2.0 commit