I wrote a shell script for the times we need to manually reindex Zebra. Our development box isn't a speed demon, so a large load takes some time to index, so we help it along a bit. The production box is a speed demon, so we don't need to reindex often. This script can be run from Webmin. We are not doing authorities and the -v (verbose) is very helpful in spotting possible issues.
#!/bin/bash export KOHA_CONF=/etc/bbmkoha/koha-conf.xml export PERL5LIB=/koha/bbmkoha/lib/ perl /koha/bbmkoha/bin/migration_tools/rebuild_zebra.pl -b -r -w -v echo "changing owner and group in /var/lib/bbmkoha/zebradb/biblios/register to koha" chown koha /var/lib/bbmkoha/zebradb/biblios/register/* chgrp koha /var/lib/bbmkoha/zebradb/biblios/register/* ls -al /var/lib/bbmkoha/zebradb/biblios/register/ +----------------------------------------------------------------------+ John Chadwick, Ed.D. Information Technology Manager New Mexico State Library 1209 Camino Carlos Rey Santa Fe, NM 87507 Phone: 505-476-9740 Cell: 505-629-8116 Fax: 505-476-9761 john.chadw...@state.nm.us http://www.nmstatelibrary.org -----Original Message----- From: koha-devel-boun...@lists.koha.org [mailto:koha-devel-boun...@lists.koha.org] On Behalf Of scott Sent: Thursday, December 17, 2009 9:55 AM To: koha-de...@nongnu.org Subject: [Koha-devel] Re: Need for reindex with Zebra? maybe someone can correct me on this but i believe your supposed to reindex either nightly or every few hrs or when you do a batch import. with zebra do PERL5LIB=/kohainstall/lib /kohainstall/bin/migration_tools/rebuild_zebra.pl -b -a -r _______________________________________________ Koha-devel mailing list koha-de...@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel ______________________________________________________________________ This inbound email has been scanned for malicious software and transmitted safely to you using Webroot Email Security. ______________________________________________________________________ Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System. ______________________________________________________________________ Confidentiality Notice: This e-mail,including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review,use,disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. This email has been scanned using Webroot Email Security. ______________________________________________________________________ _______________________________________________ Koha-devel mailing list koha-de...@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel