X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=zebra%2FREADME;h=115052675d6ba54abe5aef903e6d28771c3e5f20;hp=407ff65e94b317334d1c4dc367720f2f8fe924f7;hb=1cea7fbb98c05ceb6b5a574757388d691dbd1b95;hpb=27d1c0d29edbc74f8906bb5bf6a38b2dcb1a03f0 diff --git a/zebra/README b/zebra/README index 407ff65..1150526 100644 --- a/zebra/README +++ b/zebra/README @@ -1,4 +1,4 @@ -$Id: README,v 1.15 2006-12-08 15:57:52 mike Exp $ +$Id: README,v 1.18 2007-03-29 17:13:23 mike Exp $ What's what in this directory: @@ -79,10 +79,11 @@ 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. + server according to "System V init" rules. Instructions can + be found in the script itself. crontab -- An example file that can be used to automate periodic running of a test or tests. This can be installed using: @@ -94,8 +95,8 @@ crontab -- An example file that can be used to automate periodic To create the database and start the server: 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 update records2 # The many records harvested from Index Data +zebraidx-2.0 update records3 # Extra records supplied by Per zebraidx-2.0 commit zebrasrv-2.0 -f yazserver.xml @@ -103,5 +104,5 @@ 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 + http://localhost:8018/IR-Explain---1?version=1.1&operation=searchRetrieve&maximumRecords=10&recordSchema=zeerex&query=net.protocol=sru