Note on how to run all reindexing commands.
authorMike Taylor <mike@indexdata.com>
Thu, 30 Nov 2006 12:40:44 +0000 (12:40 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 30 Nov 2006 12:40:44 +0000 (12:40 +0000)
zebra/README

index 6d757e8..b51c69b 100644 (file)
@@ -1,4 +1,4 @@
-$Id: README,v 1.13 2006-10-10 12:53:29 mike Exp $
+$Id: README,v 1.14 2006-11-30 12:40:44 mike Exp $
 
 What's what in this directory:
 
 
 What's what in this directory:
 
@@ -86,6 +86,9 @@ zebraidx-2.0 update records # The many records harvested from Index Data
 zebraidx-2.0 commit
 zebrasrv-2.0 -f yazserver.xml
 
 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
 
 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