X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=zebra%2FREADME;h=691e2fc66a23b9081af00eaa4f415e1080385457;hp=115052675d6ba54abe5aef903e6d28771c3e5f20;hb=5f5ded4c13200abdcb588bfda4b3303e34ef9e64;hpb=1cea7fbb98c05ceb6b5a574757388d691dbd1b95 diff --git a/zebra/README b/zebra/README index 1150526..691e2fc 100644 --- a/zebra/README +++ b/zebra/README @@ -1,4 +1,4 @@ -$Id: README,v 1.18 2007-03-29 17:13:23 mike Exp $ +$Id: README,v 1.21 2007-05-09 16:48:31 mike Exp $ What's what in this directory: @@ -67,13 +67,16 @@ profile -- Notes on the indexes in the ZeeRex profile, with indications of whether they are yet supported by the Zebra configuration in this directory. -records -- A subdirectory containing ZeeRex records to be added to the - database. These were harvested from Index Data's existing +records-2007-05-01 or similar +records-2007-05-01.tar.gz or similar + -- A subdirectory containing ZeeRex records to be added to the + database, and the tarball from which they were unpacked. + The first version was harvested from Index Data's old target-test database using scp -r bagel.indexdata.dk:/home/perhans/targettest/xml records - processed to add the missing namespace, and archived into a - single file records.tar.gz, which needs to be unpacked: - tar xfz records.tar.gz + processed to add the missing namespace. Subsequent versions + have been dumped from the evolving database on + irspy.indexdata.com. db -- A subdirectory containing the actual database: register files, dictionaries and suchlike. @@ -92,17 +95,12 @@ 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 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 - -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: +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 +To create the database: + +tar xzf records-2007-04-18.tar.gz +zebraidx-2.0 init +zebraidx-2.0 update zeerex.xml +zebraidx-2.0 commit