User manual

Chapter 3
Rebuild _zebra.pl -the Zebra index
maintenance program
This is a Perl program that is used to create and maintain Zebra's search indexes.
Here are some key points about this program:
This is a Koha program that uses Zebra's zebraidx index maintenance utility
The program can be used to build indexes in full or in an incremental fashion
The program can be run form the Linux shell
For ongoing index maintenance the program is usually scheduled to run in
the Crontab
Installing Zebra
To get Koha working with Zebra we will need to install Zebra packages and then
install Koha. You can skip this section if you have already installed Zebra, and have
installed Koha by selecting the Zebra option during the
Makefile .PL
step.
Installing Zebra packages
You
might have already installed Zebra packages. These
packages are part of the Debian and Ubuntu packages lists that
we covered in Chapter 1. If you have indeed installed Zebra,
you can skip this section.
On Debian we would install Zebra packages as follows:
koha @li190 -245: -/kohaclone> sudo apt -get install idzebra -2.0 -common
idzebra -2.0 -doc idzebra -2.0 idezebra -2.0 -utils
On openSuSE, the package names are different, so the installation command
would look like this:
koha@1i190-245:-/kohaclone> sudo yast -i idzebra idzebra-doc idzebra-
devel idzebra-debuginfo
[41]